Bug #66804 [Opn->Fbk]: function.apache-lookup-uri.php
| From: | requinix@php.net | Date: | Sat, 01 Mar 2014 20:00:39 +0000 |
| Subject: | Bug #66804 [Opn->Fbk]: function.apache-lookup-uri.php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-184491@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66804&edit=1
ID: 66804
Updated by: requinix@php.net
Reported by: r dot mbiama at angosso dot net
Summary: function.apache-lookup-uri.php
-Status: Open
+Status: Feedback
Type: Bug
Package: Apache2 related
Operating System: Linux
PHP Version: str_size_and_int64 branch
Block user comment: N
Private report: N
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2014-03-01 16:07:52] r dot mbiama at angosso dot net
Description:
------------
object apache_lookup_uri ( string $filename )
This function is only supported when PHP is installed as an Apache module.
Expected result:
----------------
<?php
$info = apache_lookup_uri('index3.php?var=value');
print_r($info);
if (file_exists($info->filename)) {
echo 'file exists!';
}
stdClass Object
(
[status] => 200
[the_request] => GET /dir/file.php HTTP/1.1
[method] => GET
[unparsed_uri] => /dir/index3.php?var=value
[uri] => /dir/index3.php
[filename] => /home/angosson/htdocs/dir/index.php
[args] => var=value
[allowed] => 0
[sent_bodyct] => 0
[bytes_sent] => 0
[request_time] => 1074282764
)
file exists!
status
the_request
status_line
method
content_type
handler
uri
filename
path_info
args
boundary
no_cache
no_local_copy
allowed
send_bodyct
bytes_sent
byterange
clength
unparsed_uri
mtime
request_time
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66804&edit=1