mirror of
https://github.com/php/web-php.git
synced 2026-03-29 18:52:08 +02:00
22 lines
464 B
PHP
22 lines
464 B
PHP
<?php require "header.inc"?>
|
|
<H1>URL Manipulation</H1>
|
|
|
|
<?example('<?php
|
|
$url = parse_url("http://php.net/bugs.php3?id=3#body");
|
|
while (list($key, $value) = each($url)) {
|
|
echo "$key: $value<BR>";
|
|
}
|
|
?>');?>
|
|
<H6>Output:</H6><BLOCKQUOTE>
|
|
<h6>
|
|
<?php
|
|
$url = parse_url("http://php.net/bugs.php3?id=3#body");
|
|
while (list($key, $value) = each($url)) {
|
|
echo "$key: $value<BR>";
|
|
}
|
|
?>
|
|
</h6>
|
|
</BLOCKQUOTE>
|
|
|
|
<?php require "footer.inc"?>
|