Hi all,

I am new to this newsgroup, hello all!

I've written a script for my collueages to upload PDF file to the web server
(apache 2.0.40).  I do it via a http form submit.

Here's the form tag of it
<form name="fileUpload" enctype="multipart/form-data" action="upload.php"
method="POST" onSubmit="return chkFields();">
<input type="hidden" name="MAX_FILE_SIZE" value="2000000">

All files (PDF, xls) are able to be uploaded properly.  And these can be
viewed in browser.  For one PDF file, it cannot be uploaded.  When I've
clicked submit, it should submit to upload.php, but for this particular pdf,
the browser displays "The Page Cannot Be Found".  I am sure that upload.php
is there as when I upload another file, it's working properly, even for
other pdf.

I would like to ask is it possible that something in that pdf's header
corrupted?  But, I can view that file in my acroread and if I use FTP to
upload that file, then I can view the file in browser also.  Oh, please
help.

Cheers,

Jeffrey

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to