Jump to content

[SOLVED] Upload Error at 3MB, but none at 1MB


urtlking2jo

Recommended Posts

I am using a java applet to upload files images and pdf files into a mysql database.  Everything up to 1MB seems to work fine, but I need to be able to upload pdf files up to about 3MBs. I keep getting the error "Warning: fread(): supplied argument is not a valid stream resource in - [upload handler php]".  From searching on the web, I found that it could be a mysql issue due to packet size limitations, but I changed my max_allowed_packet to 16M and the error continues.  The server is quick, and the upload is taking under 1 minute, so I don't think anything should be timing out that quickly.  Any ideas?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.