Re: Show the entire browser request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> This should do it, I believe:
>
> <?php
>
> echo $_SERVER['REQUEST_METHOD'], ' ', $_SERVER['REQUEST_URI'], ' ',
> $_SERVER['SERVER_PROTOCOL'];
>
> ?>
>

Thanks, Andrew, I'm sure that works for correctly-formed requests.
However, I am trying to diagnose a web browser that is _not_ correctly
forming it's requests, therefore I need the real request itself, as it
was.

I am starting to realize that PHP is not the language for this, I may
have to look into an Apache module or something lower-level. Thanks!

-- 
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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux