Net_URL Net_URL::setOption

Net_URL

PEAR Manual


Net_URL Instantiate

Net_URL Instantiate -- Instantiating Net_URL

Synopsis

      require_once 'Net/URL.php';
     

string Net_Whois ( string $url , string $useBrackets )

Description

Instantiates a new Net_URL object

Parameter

  • string $url - The url to parse. By default this is getting $_SERVER['PHP_SELF']

  • string $useBrackets - Whether to use sqare brackets or not when there is multiple query variable names using the same name.

Example

Using Net_URL

       
<?php
require_once 'Net/URL.php';
$url = new Net_URL;
print_r($url->querystring);
?>


Net_URL Net_URL::setOption

Net_URL

PEAR Manual