Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem uploading and storing big LONGBLOB

Status
Not open for further replies.

tonedef

Programmer
May 24, 1999
64
US
I have a form where a user can fill out some information and attach a document that is uploaded to a MySQL table and the document is stored as a LONGBLOB. For some reason files over a certain size will not upload. I have not figured out the exact threshold, but as an example I can upload a 40K Word document, but not a 722K Word document. I am running Win2K Server, Apache 1.3.24, PHP 4.2.1 and MySQL 3.23.39.
PHP Config options set:
post_max_size = 16M
upload_max_filesize = 8M

Any insight would be wonderful.
Thanks,

tone
 
Your probably hitting the same limit I was bashing my head against the other day. You're actually breaking a limit in apache. You need to kick up the allowed bytes in the php.conf file in the apache directory...mine was under conf.d directory (course, I'm under linux....not win2k). Sorry I can't be more specific right now.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top