On Mon, Jun 8, 2009 at 2:40 PM, Dotan Cohen<dotanco...@gmail.com> wrote:
>>    Roger that.  Check out getallheaders() then:
>>
>>        http://php.net/getallheaders
>>
>
> Well, that seems to be partway there, but it doesn't include the GET request.
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

This should do it, I believe:

<?php

echo $_SERVER['REQUEST_METHOD'], ' ', $_SERVER['REQUEST_URI'], ' ',
$_SERVER['SERVER_PROTOCOL'];

?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to