Posted by Jeroen Maathuis on 10/03/15 11:18
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.
Navigation:
[Reply to this message]
|