Jump to content

PHP Upload


ev5unleash

Recommended Posts

Hey everyone, I was wondering if some PHP peoples could help me out on http://www.ev5unleash.com/uploader2/upload.php. I'm trying to customize this pre-made type uploader so I could make the max file size bigger. But when I change the default valuse in the config.inc.php from 10*1024*1024 (the default) to 100*1024*1024 it will have no affect on the uploader it self. Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/110551-php-upload/
Share on other sites

There are several different places to specify the Max File Size. PHP explains most of them here:

http://us.php.net/features.file-upload

 

Also, if you check the error code when it does max out, it usually tells you what is blocking it:

http://us.php.net/manual/en/features.file-upload.errors.php

Link to comment
https://forums.phpfreaks.com/topic/110551-php-upload/#findComment-567258
Share on other sites

Well, post the link under Beta Test Your Stuff, and people here are usually willing to check it for you.

 

Also, you can always do things like restricting file extensions to help prevent malicious stuff from getting up there. And, if you only want images, you can use the GD function getimagesize() to test if it's a supported image. That way, even if someone uploads a non image with a jpg extension, you can block it.

Link to comment
https://forums.phpfreaks.com/topic/110551-php-upload/#findComment-567358
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.