dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

$http_response_header> <$php_errormsg
[edit] Last updated: Fri, 28 Jun 2013

view this page in

$HTTP_RAW_POST_DATA

$HTTP_RAW_POST_DATAInformação não-tratada do POST

Descrição

$HTTP_RAW_POST_DATA contém informação não-tratada do POST. Veja always_populate_raw_post_data



add a note add a note User Contributed Notes $HTTP_RAW_POST_DATA - [2 notes]
up
0
Ricardo Martins
2 months ago
what is exaclty raw POST data?

Answer:

$_POST can be said as and outcome after splitting the $HTTP_RAW_POST_DATA, php splits the raw post data and formats in the way we see it in the $_POST For example:

    $HTTP_RAW_POST_DATA looks something like this

key1=value1&key2=value2

    then $_POST would look like this:

$_POST = array(
    "key1" => "value1",
    "key2" => "value2",);
up
0
Ray dot Paseur at GMail dot com
3 years ago
To get the Raw Post Data:

<?php $postdata = file_get_contents("php://input"); ?>

Please see the notes here:
http://us.php.net/manual/en/wrappers.php.php

 
show source | credits | stats | sitemap | contact | advertising | mirror sites