欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2022-05-21 13:19:00
...
################# 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 ##########