Jump to content

Problem with upload image


ayok

Recommended Posts

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

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.