Posted by samudasu on 02/27/06 15:18
Ofcourse it won't work. The scipt says in pseudo code, "if file type is
not image type (image/png, image/jpeg, image/gif, etc.) then echo file
is not a picture". Well, when you submit a pdf the file type is
application/pdf just like it says in the $_FILES array. If you want it
to work with pdf files then you'll need to remove this checking code.
[Back to original message]
|