Posted by Oli Filth on 11/09/48 11:18
Jeroen Maathuis said the following on 11/06/2005 00:15:
> Oli Filth wrote:
>
>
>>Jim S. said the following on 09/06/2005 23:18:
>>
>>>is there a php function that can take the URL in the address (with the
>>>values added) and append whatever to it?
>>>i know there is a $_SERVER['PHP_SELF'] but it does take the URL without the
>>>added variables. help please
>>
>>$_SERVER['REQUEST_URI']
>>
>>
>
> Or use the $_GET array:
>
> <?php
> foreach ($_GET as $key => $value) {
> echo "Key: $key; Value: $value<br />\n";
> }
> ?>
>
> Pretty simple actually.
Yeah, that sounds a hell of a lot simpler than $_SERVER['REQUEST_URI']!!!!
--
Oli
Navigation:
[Reply to this message]
|