nextpage.php - PHP Online
Form of PHP Sandbox
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of nextpage.php.php
- <?php
- //session_start();
- if (empty($_SESSION['count'])) {
- $_SESSION['count'] = 1;
- } else {
- $_SESSION['count']++;
- }
- $_SESSION['count']++;
- ?>
- <p>
- Hello visitor, you have seen this page <?php echo $_SESSION['count']; ?> times.
- </p>
- <p>
- To continue, <a href="nextpage.php?<?php echo htmlspecialchars(SID); ?>">click
- here</a>.
- </p>
File Description
- nextpage.php
- PHP Code
- 10 Feb-2020
- 337 Bytes
You can Share it:
Latest PHP Pastes