php 값 확인
페이지 정보
작성자 미친새 작성일 20-02-21 10:15 조회 18,134 댓글 0본문
<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>왔다
댓글목록 0
등록된 댓글이 없습니다.