string Net_URL (
string $url = null
, boolean $useBrackets = true
)
Instantiates a new Net_URL object
string $url
-
The url to parse. By default this is getting $_SERVER['PHP_SELF']
boolean $useBrackets
-
Whether to use sqare brackets or not when there is multiple
query variable names using the same name.
Using Net_URL
<?php
require_once 'Net/URL.php';
$url = new Net_URL();
print_r($url->querystring);
?>