ev5unleash Posted June 17, 2008 Share Posted June 17, 2008 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 More sharing options...
rhodesa Posted June 17, 2008 Share Posted June 17, 2008 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 More sharing options...
ev5unleash Posted June 17, 2008 Author Share Posted June 17, 2008 Okay, Thanks. It's funny someone uploaded a php file to show the directory files. What's the point? the uploader already does that. I'm wondering if anyone has the ability to hack this uploader. Link to comment https://forums.phpfreaks.com/topic/110551-php-upload/#findComment-567324 Share on other sites More sharing options...
rhodesa Posted June 17, 2008 Share Posted June 17, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.