[FX.php List] [Off Topic] I need to scoop the entire _POST query and put it inside a variable

Leo R. Lundgren leo at finalresort.org
Thu Mar 29 06:17:17 MDT 2007


AFAIK there isn't any variable or similar that contains the actual  
full request. I think you will just have to collect the various  
information from for example $_SERVER. For a full list, do a phpinfo 
() or print_r($GLOBALS).

-|

29 mar 2007 kl. 14.11 skrev Gjermund Gusland Thorsen:

> No, then you just get the environmental variables, I would like to
> scoop the entire request starting with
>
> POST /test.php HTTP/1.1
> Host: somehost
> Content-Type: text/xml; charset=utf-8
> Content-Length: {$length}
> and so on...
>
> the variables are in there too I know...
>
> ggt667
>
> On 3/29/07, Erik Andreas Cayré <erik at cayre.dk> wrote:
>>
>> Den 29/03/2007 kl. 10.33 skrev Gjermund Gusland Thorsen:
>>
>> > [Off Topic] I need to scoop the entire _POST query and put it
>> > inside a variable
>> > anyone got a clue how do this using php on a receiving page?
>>
>> I'm not sure what you mean.
>> Is this it?
>>
>> $var = $_POST;
>>
>> ---
>> Erik Andreas Cayré
>> Spangsbjerg Møllevej 169
>> 6705 Esbjerg Ø
>>
>> Privat Tel: 75150512
>> Mobil: 40161183
>>
>> ---
>> »Kun p....sure mennesker kan ændre verden. Innovation skabes ikke af
>> 'markedsanalyse', men af folk, der er afsindigt irriterede over
>> tingenes tilstand «
>> --Tom Peters
>>
>> »Hvis du ikke kan forklare det simpelt, forstår  du det ikke godt  
>> nok.«
>> -- Albert Einstein
>>
>> »Hvis du ikke har tid til at gøre det rigtigt, hvornår vil du så have
>> tid til at lave det om?«
>> -- John Wooden, basketball coach
>>
>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list