Hello,
Is there some way to get just the query portion of a URL? So if you had the URL:
http://www.domain.com/page.php?size=L&colour=R&style=4
You would end up with only:
?size=L&colour=R&style=4 OR size=L&colour=R&style=4
Thanks as always!
Hi,
Have a look at http://www.php.net/parse_url
Or, if you want the query string of the current script, you can use:
$_SERVER['QUERY_STRING']