note 30284 added to ref.url
| From: | ignacio at rack1 dot php dot net | Date: | Wed, 12 Mar 2003 23:31:47 +0000 |
| Subject: | note 30284 added to ref.url | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45181@lists.php.net to get a copy of this message | ||
Note on the above: the point is that is that using $_SERVER['QUERY_STRING'] along with
$PHP_SELF we will have passed whatever variables are already appended (as they might be needed for
database queries)
example, given the following url: http://www.your_domain/somepage.php?variable=1;
using $PHP_SELF" we are passing
[scheme]:(http://), [host]: www.your_domain/ and [path]: somepage.php
adding $_SERVER['QUERY_STRING'], we pass that, plus [query]: variable=1
--
http://www.php.net/manual/en/ref.url.php
http://master.php.net/manage/user-notes.php?action=edit+30284
http://master.php.net/manage/user-notes.php?action=delete+30284
http://master.php.net/manage/user-notes.php?action=reject+30284