mfn

Php Variables

mfn
Nov 22nd, 2013
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.43 KB | None | 0 0
  1. <?php
  2. if (isset($_GET['user']) && isset($_GET['pass']) && isset($_GET['numb']) && isset($_GET['msg']) ) {
  3. $user = $_GET['user'];
  4. $pass = $_GET['pass'];
  5. $num = $_GET['num'];
  6. $msg = $_GET['msg'];
  7. $rmsg = urlencode("{$msg}") ;
  8. if($user == "Sagar" || $pass == "sippu"){
  9. $res = file_get_contents("http://localhost/look?u=myuser&p=mypass&to={$num}&text={$rmsg}"); echo $res;
  10. } else {
  11. echo "Incorrect Username or Password";
  12. }
  13. }
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment