| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jun 2005
Posts: 10
![]() | Splash Code Prob Hey guys, We have a cookie on our homepage that basicall tells the visitors browser to go to a splash page for them to input info before going to the actual homepage....but it only shows the first time a visitor goes to the site. PROBLEM: for some reason the splash page is auto-forwarding to the homepage on what appears to be a "timed" basis...but I can't quite tell. Can you tell us how we can fix it from being timed to be a static page the doesn't go anywhere until the user either submits the form or bypasses the form? <? $splash = 'http://www.HOMEPAGE.com/splash/index.htm'; if (!isset($HTTP_COOKIE_VARS["splash"])) { setcookie("splash", 1, time()+60*60*24*24*12, '/'); header("Location: ".$splash); exit; } ?> Thank you |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic HTML Tutorial | webgear | Webmaster Tutorials | 8 | 04-02-2005 02:20 PM |
| 2 Huge Name Forsale | Vegas Entertainment | Domains For Sale - Make Offer | 9 | 09-21-2004 02:37 PM |
| CorePimps Code Is For Sale! | contemptx | For Sale / Advertising Board | 2 | 07-20-2004 09:24 AM |