Hello,
I was hoping if you guys could help me with an issue im experiencing in my php download script i downloaded from a website.
I just pass the name of the file like this a href="download_file.php?f=picture2.jpg">Download picture2</a>
where f is the Get variable
it does download the image but i can not open it
same with word document they unreadable
same with pdf file, adobe tell me its invalid format
take a look at the code:
http://pastebin.com/PxU4LUGz
I think its using the wrong header
what you guys think?
Thanks in advance