[PHP] Includes, Require, Location, Other

2006-06-18 Thread Beauford
Hi, If I were to have something like the following, what is the best way (or best practice) to reload the page and display the error - or is there a better way to do this. I want to keep the site uniform and don't want errors popping up and making a mess. Thanks B -

Re: [PHP] Includes, Require, Location, Other

2006-06-18 Thread Larry Garfield
A couple of things. 1) Delay your output to the very end. That way you can still do page redirects and build whole new pages depending on the errors you get. 2) Store errors in the session, then when building the page have a place for put any error messages here, then delete them from the