Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1.  
  2. <?php
  3.  
  4. $IP = '192.168.1.5';
  5.  
  6. $host = '192.168.1.5'; /* You Ip Host*/
  7. $user = 'root'; /* User Name nav */
  8. $pswrd = '123456'; /* Password AppServ*/
  9. $dbase = 'test'; /* Name Of Database*/
  10. $Port = '9959'; /* Dont CHange This*/
  11. $Server= 'QahrMatriX'; /* Server Name*/
  12.  
  13. /*-----------------------------*/
  14.  
  15. /*All you Informations*/
  16.  
  17. $MobileFone = '01093504138'; /*You Fone Number*/
  18. $FB ='https://www.facebook.com/profile.php?id=100009653705685'; /*you Page Game In FaceBook To Like Player For Game*/
  19. $PF='https://www.facebook.com/profile.php?id=100009653705685'; /*You Face Book To Player Concet For You*/
  20.  
  21. /*--------------------------*/
  22.  
  23. /*---Downloads----*/
  24. /*Full-Patch*/
  25.  
  26. $MegaNz='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar';/*LinkHere*/
  27. $Media='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar'; /*LinkHere*/
  28. $uptop='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar';/*LinkHere*/
  29.  
  30. /*End Full-Patch*/
  31. /*---------------*/
  32. /*Full-Client*/
  33.  
  34. $CMedia='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar';/*LinkHere*/
  35.  
  36. /*End Full-Client*/
  37. /*-end DownLoads-*/
  38.  
  39. $conn = mysql_connect($IP, $user, $pswrd) or die(mysql_error());
  40.  
  41.  
  42. if ($_GET['act']=='logout'){
  43. session_destroy();
  44. ?>
  45. <META HTTP-EQUIV="REFRESH" CONTENT="1;URL=index.php">
  46. <?php
  47. }
  48.  
  49. if ($_POST['envio']==1)
  50. {
  51.  
  52. mysql_select_db('cox');
  53.  
  54. if ($_SESSION["id"]==0){
  55. mysql_select_db($dbase) or die(mysql_error());
  56. $user=$_POST['user'];
  57. $pass=$_POST['pass'];
  58. $result1 = "SELECT * FROM `accounts` WHERE username='$user' and password='$pass'";
  59.  
  60. $query = mysql_query($result1);
  61. $sql2 = mysql_fetch_assoc($query);
  62. $count = mysql_num_rows($query);
  63.  
  64. if ($count==1){
  65. $logued=1;
  66.  
  67. $_SESSION["acc"]=$sql2['Username'];
  68. $_SESSION["uid"]=$sql2['EntityID'];
  69.  
  70. }
  71. else{
  72.  
  73. $error = '1';
  74.  
  75. }
  76. }
  77. }
  78.  
  79. $acc=$_SESSION['acc'];
  80. $uid=$_SESSION['uid'];
  81. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement