$uri_info = apache_lookup_uri('index.php');
echo "<pre>";
print_r($uri_info);
echo "</pre>";
/*
run:
stdClass Object
(
[status] => 200
[the_request] => GET /workingframe.com/test.php HTTP/1.1
[method] => GET
[mtime] => 0
[clength] => 0
[chunked] => 0
[content_type] => text/html
[handler] => application/x-httpd-php
[no_cache] => 0
[no_local_copy] => 1
[unparsed_uri] => /workingframe.com/index.php
[uri] => /workingframe.com/index.php
[filename] => C:/xampp/htdocs/workingframe.com/index.php
[allowed] => 0
[sent_bodyct] => 0
[bytes_sent] => 0
[request_time] => 1435747772
)
*/