![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
IP: 180.125.109.50
|
|||
|
|||
|
Code:
<?php
foreach($_POST as $key=>$val){
echo $key."==>".$val."<br>";
}
echo $_GET["username"]."<br>";
echo $_GET["password"]."<br>";
print_r($_POST);
echo "post<br>";
print_r($_GET);
echo "get<br>";
print_r($_REQUEST);
echo "request<br>";
?>
<form actiion="demo.php" method="post">
username: <input type="text" name="username"><br>
password: <input type="password" name="password"><br>
<input type="submit" value="login">
</form>
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|