Will my script run after redirect?

From: Date: Thu, 15 Mar 2001 10:23:59 +0000
Subject: Will my script run after redirect?
Groups: php.general 
Request: Send a blank email to php-general+get-44003@lists.php.net to get a copy of this message
If I have code like: if( $i == 0) { print "<meta http-equiv=refresh content=\"0;url=$url\">"; } $i++; I find that $i++ will run but I hope it don't, if I alter the code to: if( $i == 0) { print "<meta http-equiv=refresh content=\"0;url=$url\">"; exit; } $i++; Will it work? Is it have any side-effect?

« previous php.general (#44003) next »