首页 >后端开发 >php教程 >php得到所有未知变量名和值_PHP

php得到所有未知变量名和值_PHP

WBOY
WBOY原创
2016-06-01 12:28:381032浏览

################# You can copy this code to test #################





?>" METHOD=POST>

hidden
" name="MAX_FILE_SIZE" value="1000">

Send this file: userfile
" TYPE="file">



Name: text
" name="personal[name]">




Email: text
" name="email">




Beer:




[]">



">Warthog



">Guinness







submit
">






if ($HTTP_GET_VARS)

echo "HTTP_GET_VARS=" . implode(" | ",$HTTP_GET_VARS) . "p>";

if ($HTTP_POST_VARS) {

echo "
HTTP_POST_VARS=" . implode(" | ",$HTTP_POST_VARS) . "p>";

$array
= $HTTP_POST_VARS;

echo $array[0];

}

?>





################# http
://php4u.yes8.com ##########
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn