|
Posted by d on 02/28/06 17:05
"samudasu" <samudasu@hotmail.com> wrote in message
news:1141046313.628062.268950@t39g2000cwt.googlegroups.com...
> 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 :)
Navigation:
[Reply to this message]
|