bump
|
How could i make it that a TOS window pops up or it rederects my site to a tos oage where they have to accept the TOS to gain access to the main website; or if they decline that a message shows up saying " You didnt accept the TOS please click here and try again "
This would be great,
Regards
Make it using sessions.
Code:<?php if(!isset($_SESSION['tos'])) { header('Location: tos.html'); } ?> and on TOS submit <?php if(isset($_POST['submit'])) { $_SESSION['tos'] = 'true'; } ?> Dont forget about session_start(); on top of both pages.
i found this old tutorial http://www.rune-server.org/programmi...ot-passed.html
The problem is when i follow the exact same steps it keeps apearing on the homepage :/
regards
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |