Esempio n. 1
0
Port.......: <?php 
$url->port;
?>

File/path..: <?php 
$url->path;
?>

Querystring: <?php 
print_r($url->querystring);
?>

Anchor.....: <?php 
echo $url->anchor;
?>

Full URL...: <?php 
echo $url->getUrl();
?>


Resolve path (/.././/foo/bar/joe/./././../jabba): <b><?php 
Net_URL2::resolvePath('/.././/foo/bar/joe/./././../jabba');
?>
</b>
</pre>

</body>
</html>