marcur12 Posted October 14, 2006 Share Posted October 14, 2006 Hi. I'm having trouble uploading things to my webserver because the the maximum upload size is 2,048KB. I've tried changing the upload_max_filesize to upload_max_filesize = 15M in the php.ini file, and restarting apache, but it's still 2,048KB. Link to comment https://forums.phpfreaks.com/topic/23957-upload_max_filesize/ Share on other sites More sharing options...
MCP Posted October 15, 2006 Share Posted October 15, 2006 trypost_max_size = 15M Link to comment https://forums.phpfreaks.com/topic/23957-upload_max_filesize/#findComment-108920 Share on other sites More sharing options...
toter Posted October 15, 2006 Share Posted October 15, 2006 or you can try this in your script:[code]if($_FILES['file_field_name']['size'] > 15728640){ echo "File is too big";} else{ upload script}[/code] Link to comment https://forums.phpfreaks.com/topic/23957-upload_max_filesize/#findComment-108921 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.