Re: ?? HOW TO display error message when file too large ??
Just as I thought, that had absolutely no affect (since if it's doing this with a 173M file which is well under 1 gig...).
Here's what I did:
I have the upload on all my sites limited to 100M.
I just tried to upload a file that was 173M. When I hit the upload button, I got this error message:
Connection Interrupted
The connection to the server was reset while the page was loading.
The network link was interrupted while negotiating a connection. Please try again.
Which is from the server. This just looks really bad. I was hoping that I could get a page that detects the size of the file a person is attempting to upload and display an error instead, like "sorry, that file is too big, try reducing the file size and uploading again blah blah blah".
What I'm thinking is like with error documents, you can manipulate those with .htaccess..like instead of a person getting the dreaded "page not found" error, you can re-direct them to another page on your website like this:
Which would take the 404 error and make it go to your home page.
Side Note: This is also good for "hiding" affiliate links. ;)
LIke if your affiliate link is 6 miles long you could do this in .htaccess:
By making your affiliate link like this on your web page:
If it's not fun, stop doing it!
Bookmarks