PHP Velho Oeste 2024

$HTTP_RAW_POST_DATA

(PHP 4, PHP 5)

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

Descrição

Aviso

Este recurso está OBSOLETO desde o PHP 5.6.0, e REMOVIDO desde o PHP 7.0.0.

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

Em geral, em vez de $HTTP_RAW_POST_DATA, php://input deve ser usado.

add a note add a note

User Contributed Notes 1 note

up
75
Ray dot Paseur at GMail dot com
14 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
To Top