Re: uploading a pdf



"samudasu" <samudasu@xxxxxxxxxxx> wrote in message
news:1141046313.628062.268950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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.


Or, more logically, adapt the code to check for PDF files and not images :)


.