If its the request from the browser, why not just fire up a packet sniffer
and get it that way? Unless it's using SSL/TLS/VPN/something that would
encrypt it, you should be able to see the request in clear text.

On Mon, Jun 8, 2009 at 4:40 PM, Dotan Cohen <dotanco...@gmail.com> wrote:

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

Reply via email to