jag har en fil (c:\fil.zip) som jag vill skicka till en användare. Man kan ju inte redirecta till localhost/fil.zip precis.
jag provade med
readfile("c:\\fil.zip");
men jag fick bara upp filen i browsern.
sen provade jag med
Header("Content-type: application/x-zip-compressed");
readfile("c:\\fil.zip");