note 19738 added to function.apache-lookup-uri
| From: | Jaap van Ganswijk | Date: | Sat, 09 Mar 2002 02:57:40 +0000 |
| Subject: | note 19738 added to function.apache-lookup-uri | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27544@lists.php.net to get a copy of this message | ||
A much more concise code example is:
$cl=apache_lookup_uri("http://www.php.net/");
while (list($ky,$da)=each($cl)) {
print "$ky: $da<br>\n";
}
Giving about the same output:
status: 200
the_request: GET /jaap/c/chipdir.oth/160/tmp/convert.php HTTP/1.1
method: GET
uri: /jaap/c/chipdir.oth/160/tmp/http://www.php.net/
filename: /var/www/html/jaap/c/chipdir.oth/160/tmp/http:
path_info: //www.php.net/
no_cache: 0
no_local_copy: 1
allowed: 0
sent_bodyct: 0
bytes_sent: 0
byterange: 0
clength: 0
unparsed_uri: /jaap/c/chipdir.oth/160/tmp/http://www.php.net/
mtime: 1015642091
request_time: 1015642094
(I am trying to figure out why the local path is prepended to the request...)
--
http://www.php.net/manual/en/function.apache-lookup-uri.php
http://master.php.net/manage/user-notes.php?action=edit+19738
http://master.php.net/manage/user-notes.php?action=delete+19738
http://master.php.net/manage/user-notes.php?action=reject+19738