Page 1 of 1

IGNORE - Sleepless programmer making an unnecessary post

Posted: Tue May 16, 2006 5:57 pm
by BigAbe
Is there any way to prevent the rest of the php code after a die event occurs from executing?

-- Abe --

Re: Prevent rest of code from being executed on die()

Posted: Tue May 16, 2006 6:12 pm
by ambivalent
Isn't that what happens?
the manual wrote: die -- Equivalent to exit()

exit -- Output a message and terminate the current script

Re: Prevent rest of code from being executed on die()

Posted: Tue May 16, 2006 6:33 pm
by BigAbe
ambivalent wrote:Isn't that what happens?
the manual wrote: die -- Equivalent to exit()

exit -- Output a message and terminate the current script
Yes - My mistake.... Totally zoned out there. Please ignore my lack of sleep and appropriate Red Bull.

-- Abe --