ayok Posted February 6, 2008 Share Posted February 6, 2008 Hi, I have a problem with uploading images. The script is to upload any size of jpeg with simple code: <?php move_uploaded_file($file,"$directory_file")?> . I don't put any validation for the size of image, because the file will be resized and the original image will be deleted immediately. However, I cannot upload a 3000px image but no problem with 1600px image. My question is, how can I know the limit size for uploaded image? Thank you, ayok Link to comment https://forums.phpfreaks.com/topic/89748-problem-with-upload-image/ Share on other sites More sharing options...
ratcateme Posted February 7, 2008 Share Posted February 7, 2008 there is a limit set in the php.ini called upload_max_filesize you can also see what this value is set to by running phpinfo() the default is 2MB Scott. Link to comment https://forums.phpfreaks.com/topic/89748-problem-with-upload-image/#findComment-460627 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.