note 17187 added to function.die
| From: | jdv at clevermonkey dot org | Date: | Thu, 29 Nov 2001 03:59:39 +0000 |
| Subject: | note 17187 added to function.die | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21401@lists.php.net to get a copy of this message | ||
<p>It looks like die() kills every PHP "script" in a page. I have a main page with
four distinct <script language="php> ... </script> sections.</p><p>If
the second one dies (if, for example, I need to bail out of the script due to a missing file), the
remaining two will never be executed.</p><p>I'm running the scripts embedded inside
.html files.</p>
--
http://www.php.net/manual/en/function.die.php
http://master.php.net/manage/user-notes.php?action=edit+17187
http://master.php.net/manage/user-notes.php?action=delete+17187
http://master.php.net/manage/user-notes.php?action=reject+17187