|
|
 |
Re: FN-FORUM: PHP Download script
date posted 17th January 2008 10:02
I'm still convinced that the php download script is somehow wrong.
> I have checked that. The server is a virtual dedicated server at
> Teclan, running Linux, the file is originally uploaded via a backend
> php script and can be viewed fine if the file is accessed directly or
> downloaded via FTP. When the file is accessed after it is downloaded
> via the php script, it returns an error stating that the file is not a
> jpeg file, file header begins 0x2f or something similar.
Have you tried saving it to disk and examining with a hex editor, it sounds like there is some extraenous garbage at the from (as 0x2f is a / then it could well be something that's leaked out of the header)...
--
--Richard
http://www.zaretto.com
|
 |
|