Advertisement
Guest User

Untitled

a guest
Aug 25th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <?php
  2. if(isset($_POST["user"]) && isset($_POST["password"])) {
  3.     $username = $_POST["user"];
  4.     $password = $_POST["password"];
  5.     echo "$username : $password";
  6. } else {
  7.     echo "Nothing Recieved!";
  8.     echo "GET:<pre>";
  9.     print_r($_GET);
  10.     echo "</pre>";
  11.     echo "POST:<pre>";
  12.     print_r($_POST);
  13.     echo "</pre>";
  14.     echo "SERVER:<pre>";
  15.     print_r($_SERVER);
  16.     echo "</pre>";
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement