Up until recently I\'ve been using some PHP to upload photos to a site. But suddenly it\'s started triggering all sorts of error messages.
I use a form that on actio
Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in
Verify the MAX_SIZE variable, example to define it for a 2Mo image:
define('MAX_SIZE', 2000000);
you can also verify the Maximum size of POST data that PHP will accept and Maximum allowed size for uploaded files in PHP.ini : post_max_size = ? upload_max_filesize = ?