Unsupported scripts and control panel web app for a hosting company
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3.php 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?PHP
  2. if (isset($_POST['back'])) {
  3. $_SESSION['stage'] = 2;
  4. header('Location: /signup/2');
  5. exit;
  6. }
  7. if (isset($_POST['agree'])) {
  8. if (strtoupper($_POST['agree']) == 'I AGREE') {
  9. $_SESSION['stage'] = 4;
  10. $_SESSION['tac'] = $_SESSION['TAC_L'];
  11. header('Location: /signup/4');
  12. exit;
  13. } else {
  14. echo '<div id="message">If you agree to the terms and conditions please type <code>I AGREE</code> into the text box.</div>';
  15. }
  16. }
  17. ?>
  18. <p class="blurb">
  19. Please review the UTD-Hosting terms &amp; conditions. If you do not agree to
  20. these terms, please discontinue with the signup procedure.
  21. </p>
  22. <hr>
  23. <?PHP
  24. $stuff = file_get_contents('../common/tac.txt');
  25. $_SESSION['TAC_L'] = substr($stuff,0,4);
  26. echo substr($stuff,4);
  27. ?>
  28. <hr>
  29. <p class="blurb">
  30. Please indicate your acceptance of these terms and conditions by typing
  31. <code>I AGREE</code> in the box below.
  32. </p>
  33. <form action="/signup/3" method="post">
  34. <input type="text" name="agree" style="margin-bottom: 20px;">
  35. <input type="submit" name="forward" value="Next" style="float: right;">
  36. </form>
  37. <form action="/signup/3" method="post">
  38. <input type="submit" name="back" value="Previous">
  39. </form>