URL
| From: | Bruno Santos | Date: | Wed, 21 Jul 2004 15:16:53 +0000 |
| Subject: | URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-191324@lists.php.net to get a copy of this message | ||
Thx Robert.
How could i miss that !! =:)
by the way, is any function in PHP that i can use to capture the current URL ????
thx
-------- Original Message --------
Subject: RE: [PHP] URL
Date: Wed, 21 Jul 2004 11:12:33 -0400
From: Robert Sossomon <robert@gcnorris.com>
To: <php-general@lists.php.net>
<SNIP>
-----Original Message-----
From: Bruno Santos [mailto:bvsantos@hal.min-saude.pt] Sent: Wednesday, July 21, 2004 11:05 AM
To: php-general@lists.php.net
Subject: [PHP] URL
Hello All.
Im developing a couple of pages and i need to do some redirecting to another page depending on the choice of a user.
</SNIP>
Since you are getting the information from the page anyways, just simply
do:
$_SERVER[PHP_SELF]?parameter1=$_GET[parameter1]¶meter2=$_GET[paramet
er2]¶meter3=$_GET[parameter3] etc...
HTH,
Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
bvsantos@hal.min-saude.pt
--
Divisao de Informatica
informatica@hal.min-saude.pt
Tel: +351 272 000 155
Fax: +351 272 000 257
--
Hospital Amato Lusitano
Av. Pedro Alvares Cabral
6000-085 Castelo Branco
geral@hal.min-saude.pt
Tel: +351 272 000 272
Fax: +351 272 000 257