Guest User

Untitled

a guest
May 7th, 2018
924
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php
  2. $username=addslashes($_REQUEST['username']);
  3. $password=addslashes($_REQUEST['password']);
  4. $skey=uniqid();
  5.  
  6. function Login($ltable $iusername, $ipassword, $mysqlcon)
  7. {
  8. $sql="SELECT * FROM $ltable WHERE username='$iusername' AND password='$ipassword'";
  9. $fq=mysql_query($sql, $mysqlcon);
  10. if(mysql_num_rows($fq) > 0)
  11. {
  12. }else{
  13. }
  14. }
  15. ?>
Add Comment
Please, Sign In to add comment