jawbreaker Posted March 23, 2006 Share Posted March 23, 2006 I have a problem with either the php code or the configuration of my server. I am trying to upload files to a mysql database and it works until I try and upload a file larger than 1MB. I tried to increase "max_allowed_packet" on my mysql server and that did not work. I still get the following error. Warning: fread(): supplied argument is not a valid stream resource in Again this only happens when I try and upload a file larger than 1MB. Quote Link to comment Share on other sites More sharing options...
ober Posted March 23, 2006 Share Posted March 23, 2006 Look for "upload_max_filesize" in your php.ini file. Quote Link to comment Share on other sites More sharing options...
jawbreaker Posted March 23, 2006 Author Share Posted March 23, 2006 Thank you for the help. Changing that option in the config. file worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.