php 값 확인
페이지 정보
본문
<html>
<head>
<title> New Document </title>
<meta name=\"Generator\" content=\"EditPlus\">
<meta name=\"Author\" content=\"\">
<meta name=\"Keywords\" content=\"\">
<meta name=\"Description\" content=\"\">
</head>
<body>
<form name=\"orderForm\" method=\"post\" action=\"testform2.html\">
<input type=\"text\" name=\"orderphone1\" value=\"dbphone\">
<input type=\"text\" name=\"orderzip1\" value=\"dbzip1\">
<input type=\"text\" name=\"orderzip2\" value=\"dbzip2\">
<input type=\"text\" name=\"orderaddr1\" value=\"dbaddr1\">
<input type=\"text\" name=\"orderaddr2\" value=\"dbaddr2\">
<input type=\"submit\" name=\"ok\" value=\"go\">
</form>
</body>
</html>
<?
echo $_POST['orderphone1'];
var_dump($HTTP_POST_VARS);
echo \"<br><br><br>\";
print_r($HTTP_POST_VARS);
echo \"<br><br><br>\";
foreach($_POST as $key => $value){
print\"$_POST[{$key}]={$value}n<br>\";
}
?>
<br>왔다
<head>
<title> New Document </title>
<meta name=\"Generator\" content=\"EditPlus\">
<meta name=\"Author\" content=\"\">
<meta name=\"Keywords\" content=\"\">
<meta name=\"Description\" content=\"\">
</head>
<body>
<form name=\"orderForm\" method=\"post\" action=\"testform2.html\">
<input type=\"text\" name=\"orderphone1\" value=\"dbphone\">
<input type=\"text\" name=\"orderzip1\" value=\"dbzip1\">
<input type=\"text\" name=\"orderzip2\" value=\"dbzip2\">
<input type=\"text\" name=\"orderaddr1\" value=\"dbaddr1\">
<input type=\"text\" name=\"orderaddr2\" value=\"dbaddr2\">
<input type=\"submit\" name=\"ok\" value=\"go\">
</form>
</body>
</html>
<?
echo $_POST['orderphone1'];
var_dump($HTTP_POST_VARS);
echo \"<br><br><br>\";
print_r($HTTP_POST_VARS);
echo \"<br><br><br>\";
foreach($_POST as $key => $value){
print\"$_POST[{$key}]={$value}n<br>\";
}
?>
<br>왔다
- 이전글php 환경변수 확인 메탈사슴(onlyonlyyou) 20.02.21
- 다음글폴더 생성 777(php 폴더생성) 20.02.21
댓글목록
등록된 댓글이 없습니다.