ID: 30809 Updated by: [EMAIL PROTECTED] Reported By: animeshrine1134 at yahoo dot com -Status: Open +Status: Bogus Bug Type: Apache related Operating System: windows98 PHP Version: 4.3.9 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. That's how apache_lookup_uri() works - only with local URIs. Previous Comments: ------------------------------------------------------------------------ [2004-11-17 01:43:50] animeshrine1134 at yahoo dot com Description: ------------ when i use apache_lookup_uri(string filename) on windows, it looks only on the local system for the filename, if i set the filename to "http://www.google.com/" it looks for "/http://www.google.com/" Reproduce code: --------------- <?php $info = apache_lookup_uri('http://www.google.com'); print_r($info); ?> Actual result: -------------- stdClass Object ( [status] => 403 [the_request] => GET /uri.php HTTP/1.1 [method] => GET [uri] => /http://www.google.com [filename] => c:/www/http: [path_info] => //www.google.com [no_cache] => 0 [no_local_copy] => 1 [allowed] => 0 [sent_bodyct] => 0 [bytes_sent] => 0 [byterange] => 0 [clength] => 0 [unparsed_uri] => /http://www.google.com [request_time] => 1100650664 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30809&edit=1