Thread: Refresh button
View Single Post
  #7  
Old 3rd Feb 03, 10:16 PM
Cactus's Avatar
Cactus Cactus is offline
BetaONE Supporter
 
Join Date: Jul 2001
Posts: 819
Cactus is an unknown quantity at this point
Uhm, it could be done with cookies...

Tested a bit with t, and it looks to me it could be done that way. Need to learn about session cookies to perfect it

Code:
<?php if (isset($_COOKIE['betaONEpage'])) { &nbsp;if ($_COOKIE['betaONEpage'] == "Portal") { $betaONEpage = "/portal/"; } &nbsp;else { $betaONEpage = "/forums/"; }} else { setcookie("betaONEpage", "Portal", time() + 60, "/", "www.betaone.net" ); } ?>
and

Code:
<FRAME name="main" src=<? print "$betaONEpage" ?> scrolling="auto">
__________________
Quote:
Several security vulnerabilities in Firefox and the Mozilla Suite of Internet software put users of the open-source products at risk of hacker attacks, the Mozilla Foundation is warning.
Reply With Quote