note 26164 added to function.apache-lookup-uri
| From: | mhamill at computer dot org | Date: | Mon, 21 Oct 2002 00:44:03 +0000 |
| Subject: | note 26164 added to function.apache-lookup-uri | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38335@lists.php.net to get a copy of this message | ||
In playing with the function it doesn't seem to work. Everything is returned with a status code
of 200. Example:
<?php
$cl=apache_lookup_uri("http://www.garbage.dsfksdfds.df/");
while (list($ky,$da)=each($cl)) {
print "$ky: $da <br />";
} ?>
Returns:
status: 200
the_request: GET /phpinfo.php HTTP/1.1
method: GET
uri: /http://www.garbage.dsfksdfds.df/
filename: /home/mhamill/potomactavern-www/http:
path_info: //www.garbage.dsfksdfds.df/
no_cache: 0
no_local_copy: 1
allowed: 0
sent_bodyct: 0
bytes_sent: 0
byterange: 0
clength: 0
unparsed_uri: /http://www.garbage.dsfksdfds.df/
request_time: 1035160825
--
http://www.php.net/manual/en/function.apache-lookup-uri.php
http://master.php.net/manage/user-notes.php?action=edit+26164
http://master.php.net/manage/user-notes.php?action=delete+26164
http://master.php.net/manage/user-notes.php?action=reject+26164