Re: uploading a pdf
- From: "d" <d@xxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 15:05:28 GMT
"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 :)
.
- References:
- uploading a pdf
- From: Stephen Preston
- Re: uploading a pdf
- From: samudasu
- uploading a pdf
- Prev by Date: Re: XML parser
- Next by Date: Re: Access Violation at 01CE5CE6
- Previous by thread: Re: uploading a pdf
- Next by thread: Mysterious missing newlines ...
- Index(es):