downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

http_get_request_headers> <http_get_request_body_stream
Last updated: Fri, 06 Nov 2009

view this page in

http_get_request_body

(PECL pecl_http >= 0.10.0)

http_get_request_bodyİstek gövdesini bir dizge olarak döndürür

Açıklama

string http_get_request_body ( void )

Ham istek gövdesi ile döner (yani, POST veya PUT verisi).

İstek yöntemi POST değilse bu işlev http_get_request_body_stream() işlevinden sonra kullanılamaz.

Değiştirgeler

Dönen Değerler

Başarı durumunda ham istek verisini bir dizge olarak döndürür. Başarısızlık durumunda NULL döner.

Ayrıca Bakınız



add a note add a note User Contributed Notes
http_get_request_body
neil at foo dot co dot za
29-Feb-2008 09:40
Like php://input and http_get_request_body_stream(), http_get_request_body() doesn't seem to work with enctype="multipart/form-data".
osborn dot steven at gmail dot com
23-Aug-2007 06:01
For those of you without the HTTP extension, try:
<?php
  $body
= @file_get_contents('php://input');
?>

http_get_request_headers> <http_get_request_body_stream
Last updated: Fri, 06 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites