[PHP-DEV] apache_lookup_uri() From: ondi (ondi <email protected>)
Date: 09/02/99

why apache_lookup_uri()
always returns "bytes_sent"=0 ???
here sample with all class properties:

<?
for ($i=0;$i<100;$i++){ // many same information for statistic!!!
$thy=apache_lookup_uri("my_php_file.phtml");

echo "status=$thy->status<br>\n";
echo "the_request=$thy->the_request<br>\n";
echo "status_line=$thy->status_line<br>\n";
echo "method=$thy->method<br>\n";
echo "content_type=$thy->content_type<br>\n";
echo "handler=$thy->handler<br>\n";
echo "uri=$thy->uri<br>\n";
echo "filename=$thy->filename<br>\n";
echo "path_info=$thy->path_info<br>\n";
echo "args=$thy->args<br>\n";
echo "boundary=$thy->boundary<br>\n";
echo "no_cache=$thy->no_cache<br>\n";
echo "no_local_copy=$thy->no_local_copy<br>\n";
echo "allowed=$thy->allowed<br>\n";
echo "send_bodyct=$thy->send_bodyct<br>\n";
echo "bytes_sent=$thy->bytes_sent<br>\n";
echo "byterange=$thy->byterange<br>\n";
echo "clength=$thy->clength<br>\n";
echo "unparsed_uri=$thy->unparsed_uri<br>\n";
echo "mtime=$thy->mtime<br>\n";
echo "request_time=$thy->request_time<br>\n";
echo "<hr>\n";
}

?>