Jump to content

PHP file Upload Problems


jawbreaker

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/5597-php-file-upload-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.