Cubeboy Posted June 16, 2009 Share Posted June 16, 2009 (edited) everyone knows about the * file, but where in that file do I put my link to direct someone to that page. lets say I want them to go to my hosting plans page (http://somehostingcompany.com/hosting.htm) where do I place it here? Please help.... thanks <?php define("CLIENTAREA",true); include("dbconnect.php"); include("includes/functions.php"); if (isset($aff)) { update_query("tblaffiliates",array("visitors"=>"+1"),array("id"=>$aff)); setcookie("WHMCSAffiliateID", $aff, time()+90*24*60*60); } header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$CONFIG["Domain"]); ?> Edited June 16, 2009 by Cubeboy wrong title 0 Quote Link to comment Share on other sites More sharing options...
freedombi Posted June 17, 2009 Share Posted June 17, 2009 header("Location: "...) is responsible for redirecting. So something like header("Location: ".$CONFIG["Domain"]."/hosting.htm"); would probably work. Adjust to fit, of course. 0 Quote Link to comment Share on other sites More sharing options...
Cubeboy Posted June 18, 2009 Author Share Posted June 18, 2009 :):)works great!!!! thank you so much!!!!!!:) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.