Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1.  
  2.  
  3. <form action='api2.php' method='GET'>
  4.  <strong>Username:</strong>
  5.  <input type='text' name='username'>
  6.    <input type="submit" name="submit" value="Go">
  7.    </form>
  8. <br />
  9.  
  10. <?php
  11. $username = htmlspecialchars($_GET['username']);
  12. echo $username;
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement