Re: Show the entire browser request
| From: | Daniel Brown | Date: | Mon, 08 Jun 2009 16:20:02 +0000 |
| Subject: | Re: Show the entire browser request | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293741@lists.php.net to get a copy of this message | ||
On Mon, Jun 8, 2009 at 12:17, Dotan Cohen<dotancohen@gmail.com> wrote:
>
> Thanks, Daniel, but I am trying to help someone who is writing a
> text-based web browser but gets "Bad Request" messages from some
> websites. As he is able to visit http://simplesniff.com (my
> site) I
> figured that it would help if I could just reply back with a page that
> contained the exact request that he made.
Roger that. Check out getallheaders() then:
http://php.net/getallheaders
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW10000