On Mon, Jun 8, 2009 at 12:17, Dotan Cohen<dotancohen@xxxxxxxxx> 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@xxxxxxxxxxxx || danbrown@xxxxxxx http://www.parasane.net/ || http://www.pilotpig.net/ 50% Off All Shared Hosting Plans at PilotPig: Use Coupon DOW10000 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php