note 14596 deleted from function.die by philip

From: Date: Fri, 31 Aug 2001 17:48:35 +0000
Subject: note 14596 deleted from function.die by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-17444@lists.php.net to get a copy of this message
When I used die() in a file that was included and I was using Netscape the original calling script would also die. example is: In the main script include (whatever.php); in whatever.php if a==1 { echo "test"; } else { die(); } In netscape the calling script kills everything and you end up with a blank page. The easy fix was to replace die() with return. This is with PHP 3.06

« previous php.notes (#17444) next »