Status: Pooping
- Joined
- Jul 16, 2008
- Messages
- 861
- Reaction score
- 25
Hi, guys i want that people can't go the their previous page they visited @ my site.. What script i need to use for it and in what language?
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!You could also do something with $_SERVER['HTTP_REFERER'], but it can't always be trusted.
<?php
session_start();
$_SESSION['nextPage']++;
$pages = 'page1.html,page2.html,page3.html,page4.html'; //Pages you want to link Separated by commas ;)
$allPages=explode(',',$pages);
include($allPages[$_SESSION['nextPage']]);
?>