note 103238 added to reserved.variables.get
| From: | forum at ayasoft dot eu | Date: | Sat, 02 Apr 2011 22:26:23 +0000 |
| Subject: | note 103238 added to reserved.variables.get | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178441@lists.php.net to get a copy of this message | ||
Just a simple comment, really, but if you need to encode ampersand as a parameter, you should be
using urlencode
<?php
$param_name = urlencode('andrew&jenny');
header('Location: http://www.ayasoft.eu?name=' . $param_name);
?>
----
Server IP: 69.147.83.197
Probable Submitter: 95.160.37.122
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.get.php
Edit -- https://master.php.net/note/edit/103238
Del: integrated -- https://master.php.net/note/delete/103238/integrated
Del: useless -- https://master.php.net/note/delete/103238/useless
Del: bad code -- https://master.php.net/note/delete/103238/bad+code
Del: spam -- https://master.php.net/note/delete/103238/spam
Del: non-english -- https://master.php.net/note/delete/103238/non-english
Del: in docs -- https://master.php.net/note/delete/103238/in+docs
Del: other reasons-- https://master.php.net/note/delete/103238
Reject -- https://master.php.net/note/reject/103238
Search -- https://master.php.net/manage/user-notes.php