Advertisement
tramix32

Untitled

Jan 8th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.91 KB | None | 0 0
  1. <?php
  2. header("Expires: Tue, 01 Jan 2000 00:00:00 GMT");
  3. header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
  4. header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
  5. header("Cache-Control: post-check=0, pre-check=0", false);
  6. header("Pragma: no-cache");
  7. ?>
  8.  
  9. <html>
  10. <head>
  11. <title>XD</title>
  12.  
  13. <script src="https://embed.selly.gg"></script>
  14. </head>
  15.  
  16.  
  17. <body>
  18.  
  19. <form action="index.php" method="post">
  20. Name: <input type="text" name="name"><br>
  21. E-mail: <input type="text" name="email"><br>
  22. Date:<input type="text" name="email"><br>
  23. Hour:<input type="text" name="hour"><br>  //In the hour if user types as 1 the button A appears
  24. <input type="submit">
  25. </form>
  26.  
  27. <?php
  28.  
  29. if($_POST["hour"]==1){
  30.     echo '<button data-selly-product="288a2180">Button Text</button>';
  31. }
  32. elseif($_POST["hour"]==2){
  33.     echo '<button data-selly-product="88e71e07">Button Text</button>';
  34. }
  35. ?>
  36. </body>
  37. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement