Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.59 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <meta charset="UTF-8">
  4.         <meta name="keywords" content="ctx,jarro,maps,csgo,workshop"/>
  5.         <meta name="description" content="ctx maps"/>
  6.         <link rel="stylesheet" href="pizda.css">
  7.         <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
  8.         <title>CTX Maps</title>
  9.     </head>
  10.     <body>
  11.         <?php
  12.            
  13.             $steam = $_POST['steam'];
  14.             $age = $_POST['age'];
  15.             $ip = $_SERVER['REMOTE_ADDR'];
  16.            
  17.             $servername = "localhost";
  18.             $username = "phpmyadmin";
  19.             $password = "5263883qQ";
  20.             $dbname = "Testing";
  21.  
  22.             // Create connection
  23.             $conn = mysqli_connect($servername, $username, $password, $dbname);
  24.             $result = mysqli_query($conn,"INSERT INTO Testers (steam,age,ip) VALUES ('$steam','$age','$ip')");
  25.            
  26.  
  27.             mysqli_close($conn);   
  28.         ?>
  29.         <a href="http://ctxmaps.net"><div id="shapka"></div></a>
  30.         <div id="poloska">
  31.             <ul id="menulist">
  32.                 <li><a href="maps.html">Maps</a></li>          
  33.                 <li><a href="server.html">Server</a></li>          
  34.                 <li><a href="tester.php">> Testers <</a></li>          
  35.                 <li><a href="contact.html">Contact</a></li>        
  36.             </ul>
  37.         </div> 
  38.  
  39.         <div id="infoglob">
  40.             <div id="info">    
  41.                 We need you!<br>Submit your resume<br><br>
  42.                 <form method="POST" name="formik" action="tester.php">
  43.                     <table align="center">
  44.                     <tr>
  45.                     <td>Steam Profile:</td>
  46.                     <td><input name="steam" id="el_steam"></td>
  47.                     </tr>
  48.                     <tr>
  49.                     <td>Age:</td>
  50.                     <td><input name="age" id="el_age"></td>
  51.                     </tr>
  52.                     </table><br>
  53.                     <input id="button" type="submit" value="submit">
  54.                 </form>
  55.             </div>
  56.         </div>     
  57.     </body>
  58. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement