NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Splash Code Prob

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
2 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-19-2005, 02:32 PM THREAD STARTER               #1 (permalink)
New Member
Join Date: Jun 2005
Posts: 10
Zoosushi is an unknown quantity at this point
 



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
Zoosushi is offline  
Old 07-19-2005, 04:30 PM   #2 (permalink)
NamePros Member
 
phleet's Avatar
Join Date: Jul 2005
Location: Ottawa
Posts: 30
phleet is an unknown quantity at this point
 



Can you list the site? Seeing it would probably be helpful in telling you how to fix it.

It may have something to do with whats happening on the client side portion of the page.
phleet is offline  
Closed Thread


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

 
All times are GMT -7. The time now is 12:09 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger