"Rainer Kohnen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > is there a way to get the full HTTP Header > without patching PHP? > > I use a debugger coded in PHP a lot. Now i need > to debug some intershop enfinity pages. However, > enfinity uses a lot of fields with the same names. > So my debugger overwrites the variables and i get > only the last one. As i cant change the code > (wouldn't work anymore then) i cant debug without > having access to the full http header. > (i can make arrays for duplicate variables for > myself then) > > Same problem with some kind of e-cash system. > It validates itself by putting a signature into > the header. However, PHP cant validate the header > as i have no chance to get the original header. > (And i cant rebuild the original header of course) > > If there is no way without patching to > get these informations are there any plans to > integrate a function for getting the header > in future versions of php? > > thanks > Have you tried: http://www.php.net/manual/en/function.getallheaders.php $headers = getallheaders(); while (list ($header, $value) = each ($headers)) { echo "$header: $value<br>\n"; } Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]