I have a web page that allows users to upload jpegs. When the file is too large, the page times out. I have already increased the max_execution_time and the max_upload_time, and my host has increased the corresponding variables in IIS. But I am still getting timeouts, and I have not been able to trap the problem.
Two questions:
1) Is there a way for me to test the size of the user's file BEFORE uploading it?
2) Is there a way for me to trap the time-out error so that I display my page instead of the generic time-out error page?
Thanks,
Mel