note 44370 added to ref.http
| From: | php-general at lists dot php dot net | Date: | Wed, 04 Aug 2004 00:57:31 +0000 |
| Subject: | note 44370 added to ref.http | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-73884@lists.php.net to get a copy of this message | ||
Why use META or JavaScript... The built in PHP redirect is instant and you do not see URLs flashing
around in the status bar of your browser. You must output this before other header info is sent.
This works:
<?header("location: $url");?>
<!---this will redirect-->
This doesn't work:
<!---this will redirect-->
<?header("location: $url");?>
----
Manual Page -- http://www.php.net/manual/en/ref.http.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44370
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44370&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44370&report=yes
Search -- http://master.php.net/manage/user-notes.php