4번독수리의 둥지

php $_POST 본문

PHP

php $_POST

4번독수리 2014. 9. 26. 18:20

Note that $_POST is NOT set for all HTTP POST operations,  but only for specific types of POST operations.  I have not been able to find documentation, but here's what I've found so far.

$_POST _is_ set for:
Content-Type: application/x-www-form-urlencoded
In other words,  for standard web forms.

$_POST is NOT set for:
Content-Type:text/xml
A type used for a generic HTTP POST operation.


http://php.net/manual/en/reserved.variables.post.php

'PHP' 카테고리의 다른 글

PHP memory management  (0) 2015.11.30
Downgrading a PECL Module  (0) 2015.11.02
check max get parameter length with PHP+cURL  (0) 2015.10.20
Quickly Removing Empty Array Elements in PHP  (0) 2015.04.28
빠른 array_unique()  (0) 2015.04.28