Discussion forums: Help

Expanded view | Monitor forum | Save place

Message

Re: PDF sometimes does not upload - SOLVED!
Submitted by Joe Toth; posted on Monday, June 18, 2007
Hi, I discovered that a file which didn't upload did successfully upload once I changed the name from file to file.pdf I don't know enough php to find out if the code really needs the .pdf in the filename- I just know that my uploads now work. The other fixes posted here didn't make a difference.



Post a followup to this message:
You have to be logged in to post a reply.
Thread view
PDF sometimes does not upload - SOLVED!
Submitted by Martin Kucej; posted on Wednesday, August 11, 2004
[Photo]
Some people here wrote me that they uploaded 2, 3 or 7 PDFs and than nothing. First, check if you have only one copy of Apache, PHP and MySQL installed in your machine, and that you have only one php.ini file. On some platforms, the directive magic_quotes_gpc is Off. This will cause the above problems. It is because all quotation marks must be escaped by backslash, before they are recorded to the database. This is secured by magic_quotes_gpc being On. Check your php.ini! Hope this will help. Martin
PDF sometimes does not upload - SOLVED!
Submitted by Nobody; posted on Thursday, December 16, 2004
There is also an 8Mb limit imposed in the php.ini file (on windows) and within the upload.php (search for 8000000). A LARGE pdf will return erroneous error messages
Re: PDF sometimes does not upload - SOLVED!
Submitted by Joe Toth; posted on Monday, June 18, 2007
Hi, I discovered that a file which didn't upload did successfully upload once I changed the name from file to file.pdf I don't know enough php to find out if the code really needs the .pdf in the filename- I just know that my uploads now work. The other fixes posted here didn't make a difference.
Re: PDF sometimes does not upload - SOLVED!
Submitted by Martin Kucej; posted on Tuesday, April 7, 2009
[Photo]
Yes, the old Librarian is checking for the .pdf file name.

© 1998-2025 Scilico, LLC. All rights reserved.