note 17977 deleted from function.exit by irc-html
| From: | irc-html@php.net | Date: | Sat, 05 Jan 2002 20:47:22 +0000 |
| Subject: | note 17977 deleted from function.exit by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24440@lists.php.net to get a copy of this message | ||
I found a problem using exit() in the middle of a batch of other code returning HTML to Navigator
4.7 for Windows.
I was trying to just jump out of the if clause I was in and finish displaying the page. In MSIE for
Mac and Windows this worked as I had expected. However, in Navigator 4.7 (Windows anyway) the page
stopped displaying completely. Not just the PHP generated code -- the bottom part of the document
that was written in plain HTML as well!
Finally worked around placing all the code within if statements and doing away with the exit() call
altogether.
Strange this would affect the browser at all, since all this was happening on the server!