Hello everyone, I want to ask. Can I make max image upload size without php.ini and .htaccess?
I have this code:
$size = $_FILE['image']['size'];
$max_upload = 800000;
if($size >= $max_upload) {echo "Your image is too big.";}
But it's not working. I want to make max image upload size: 800Kb.
Can please anyone help me?
Thanks. 🙂