| // +-----------------------------------------------------------------------+ // $Id: example.php,v 1.12 2007/06/28 14:42:42 davidc Exp $ /** * This example will decode the url given and display its * constituent parts. */ //include('../URL.php'); include('Net/URL.php'); //$url = &new Net_URL('https://www.example.com/foo/bar/index.php?foo=bar'); $url = new Net_URL('https://example.com/pls/portal30/PORTAL30.wwpob_page.changetabs?p_back_url=http%3A%2F%2Fexample.com%2Fservlet%2Fpage%3F_pageid%3D360%2C366%2C368%2C382%26_dad%3Dportal30%26_schema%3DPORTAL30&foo=bar'); ?>
Protocol...: protocol?> Username...: user?> Password...: pass?> Server.....: host?> Port.......: port?> File/path..: path?> Querystring: querystring)?> Anchor.....: anchor?> Full URL...: getUrl()?>