Hi! and thanks for this smart file download script, I very much like to use this script for some Zip Archive download file which look to be stright forward but I'm still having this problem of making it work with my download files, I've try to study almost all the posting about it on this site with some useful information also on setting it but this problem still come Up which I hope you'll be able to help me with or someone here as well, thanks again for this help
This is the problem I'm having at present with this Error message:
[Sat Nov 24 21:18:14 2007] [error] [client 127.0.0.1] PHP Warning: Unexpected character in input: '\\' (ASCII=92) state=1 in C:\\home\\Apache2\\htdocs\\downloads\\download.php on line 160, referer: http://localhost/downloads/index.html
[Sat Nov 24 21:18:14 2007] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\\home\\Apache2\\htdocs\\downloads\\download.php on line 161, referer: http://localhost/downloads/index.html
And this is the content on line 160 and 161 on download.php?
160) header("Content-Disposition: attachment; filename=\"$asfname"\");
161) header("Content-Transfer-Encoding: binary");
I hope this will also help you fix this problem thanks.