Re: Re: Question: Passing error messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ,
Stuart

Where 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux