Ok, I have been all over the Internet researching my problem and have found no clear answer. I have created a php page allowing a user to upload a file. I would like to restrict the user to uploading a file no larger than 1/2 a meg. Therfore, I have not changed my "max file upload" options in the configuration setting for php. (php.ini and php.conf). When I try to upload something larger than about half a meg, I have code written to trap the error and display a nice error. Instead of trapping the error, it displays an IE error saying "The page cannot be displayed". I know this is because the server does not like the file size that is being uploaded. I want it to display a 'nice' error, not this ugly IE error. How can I go about doing this? I am wondering if I can't trap the problem in my php code, if I could trap it on the server and have the server send back an error page. Your help would be greatly appreciated, thank you!