note 14992 deleted from function.die by philip
| From: | philip@php.net | Date: | Fri, 31 Aug 2001 17:49:00 +0000 |
| Subject: | note 14992 deleted from function.die by philip | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17445@lists.php.net to get a copy of this message | ||
Quoted from above:
"When I used die() in a file that was included and I was using
Netscape the original calling script would also die.
In netscape the calling script kills everything and you end up with a blank page. "
I do not believe Netscape has anything to do with this behavior. Since all PHP code runs on the
server side, the client's browser has absolutely no effect on running PHP code (unless you
intentionally code specific things differently, say for WebTV). Anyway, what was most likely
happening was that the HTML your program outputted to the browser was incomplete (like missing a
close table tag), and IE rendered the page regardless of the errant HTML, but Netscape could not, so
you ended up with a blank page - which only appeared to you as the script not completing.
Next time, check the HTML SOURCE code of rendered pages, and you'll most likely see the same
output on both IE and Netscape.