cvs: pear /HTTP_Url/docs example.php

From: Date: Sun, 10 Feb 2002 22:13:14 +0000
Subject: cvs: pear /HTTP_Url/docs example.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2368@lists.php.net to get a copy of this message
heyesr Sun Feb 10 17:13:14 2002 EDT Added files: /pear/HTTP_Url/docs example.php Log: * Added HTTP_Url class Index: pear/HTTP_Url/docs/example.php +++ pear/HTTP_Url/docs/example.php <?php /** * This example will decode the url given and display its * constituent parts. */ include('HTTP/Url.php'); $url =& new HTTP_Url('http://www.php.net/#top'); ?> <html> <body> <pre> Protocol...: <?=$url->protocol?> Username...: <?=$url->user?> Password...: <?=$url->pass?> Server.....: <?=$url->host?> Port.......: <?=$url->port?> File/path..: <?=$url->path?> Querystring: <?=$url->getQueryString()?> Anchor.....: <?=$url->anchor?> Full URL...: <?=$url->getUrl()?> </pre> </body> </html>

« previous php.pear.cvs (#2368) next »