Re: Re: Question: Passing error messages
| From: | Daniel Schierbeck | Date: | Sat, 06 Nov 2004 18:13:02 +0000 |
| Subject: | Re: Re: Question: Passing error messages | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201371@lists.php.net to get a copy of this message | ||
Stuart Felenstein wrote:
I'm saying, currently if there is an error and the script needs to exit, I'm doing this : if ..error { $_SESSION['ErMsg'] = "Submit Failure"; header (location: ........) exit; } I want to know what alternatives there are to error messages aside from using a session variable. Thank you , StuartWhere are you redirecting the client to? An error page? -- Daniel Schierbeck Help spread Firefox (www.getfirefox.com): http://www.spreadfirefox.com/?q=user/register&r=6584