No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi There, I have used this php script in the past on several web hosts and have had no problems. Here it is I save this as a php file. jump.php or whatever <? if ($link == "1"){$visit = "http://affiliatelink";} if ($link == "2"){$visit = "http://affiliatelink";} header("Location: $visit"); die(); ?> … |
|
Re:
Is there any other function in PHP that can be used for redirecting a page I use the following [CODE]header ("location: index.php");[/CODE] But it generates the following error: [CODE]Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\admin-right-nav.php:5) in c:\program files\easyphp1-8\www\admin-right-nav.php on line 6[/CODE] … |