Advertisement
Bgines

Php code

Oct 25th, 2013
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1. <?php
  2. $username =$_POST['user'];  
  3. $password =$_POST['pass'];  
  4.  
  5. if($username =='test' AND $password =='pass1'){  
  6. echo "Wellcome $username";  
  7. echo '<a href="2.php">Go to your download. </a>';  
  8.  
  9. }else{  
  10.  
  11. require 'loginform.php';  
  12. echo "You must login!";  
  13. }
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement