note 59371 added to function.addcslashes
| From: | Darren at osu1 dot php dot net | Date: | Mon, 05 Dec 2005 06:37:56 +0000 |
| Subject: | note 59371 added to function.addcslashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99569@lists.php.net to get a copy of this message | ||
For some reasons, don't do this:
<?php
// ... yada yada yada ...
header('Location: http://your.domain.com/file.php');
die();
// cause browsers unable to find and display the page
?>
or this:
<?php
// ... yada yada yada ...
header('Location: /file.php');
die();
// Works in Opera. IE and firefox failed
?>
For those who is using opera to develop their site and using relative URI for location, watch out !
----
Manual Page -- http://www.php.net/manual/en/function.addcslashes.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59371
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59371&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59371&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59371&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59371&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59371&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59371&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59371&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59371&report=yes
Search -- http://master.php.net/manage/user-notes.php