xkid83

index.php

Mar 22nd, 2016
2,901
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.38 KB | None | 0 0
  1. if(isset($_FORM["form"]) && isset($_FORM["to"]) && isset($_FORM["amount_in_dollars"]) && isset($_COOKIE["user_logged_in"]) )
  2. {
  3.     //HTTP Referer is the address of the page (if any) which referred the user agent to the current page.
  4.     if($_SERVER['HTTP_REFERER'] == "http://www.bank.com/")
  5.     {
  6.         transMoney("from", "to", "amount");
  7.         echo "Money transfer done";
  8.     }
  9. }
Add Comment
Please, Sign In to add comment