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. Quote Link to comment Share on other sites More sharing options...
MCP Posted October 15, 2006 Share Posted October 15, 2006 trypost_max_size = 15M Quote Link to comment 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] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.