Retrieving title from url

2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 16, 2012   (RSS)

Re: [ikanizaj] Retrieving title from url

By (Deleted User) - March 16, 2012

Hi Igor,

To get the entire query (everything after the '?') you can just use
$queryFromUri = $_SERVER['QUERY_STRING'];

$_SERVER is a global that contains a whole load of useful information about the script being executed - check out http://php.net/manual/en/reserved.variables.server.php for more ways to use it.

Hope that helps,

Tom