Home > Backend Development > PHP Tutorial > php得到所有未知变量名和值_PHP

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

WBOY
Release: 2016-06-01 12:28:38
Original
1028 people have browsed it

################# 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 ##########
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template