RE: [PHP] Will my script run after redirect?
| From: | Johnson, Kirk | Date: | Thu, 15 Mar 2001 15:18:39 +0000 |
| Subject: | RE: [PHP] Will my script run after redirect? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44037@lists.php.net to get a copy of this message | ||
This will work fine. The script will continue to run after the meta refresh
unless the exit is there.
> -----Original Message-----
> From: Carfield Yim [mailto:carfield@programmer.net]
> Sent: Thursday, March 15, 2001 3:24 AM
> To: php-general@lists.php.net
> Subject: [PHP] Will my script run after redirect?
> if( $i == 0)
> {
> print "<meta http-equiv=refresh content=\"0;url=$url\">";
> exit;
> }
> $i++;
>
> Will it work? Is it have any side-effect?