Code: Select all
header("Location: http://www.mydomain.com");
exit();
or something of that nature. The script just halts and doesnt do anything. What am I doing wrong? Any help is greatly appreciated. Thanks
Will
Moderators: egami, macek, gesf
Code: Select all
header("Location: http://www.mydomain.com");
exit();
elitecodex wrote:I am having a problem getting my PHP scripts to redirect. This is what I use:Code: Select all
header("Location: http://www.mydomain.com");
exit();
or something of that nature. The script just halts and doesnt do anything. What am I doing wrong? Any help is greatly appreciated. Thanks
Will
Code: Select all
header("Location: http://www.mydomain.com");
exit();
Code: Select all
header("Location: http://www.mydomain.com");
exit;
Code: Select all
<?
header("Location: http://www.mydomain.com");
exit();
?>
<html><body></body></html>
Code: Select all
<html><body></body></html>
<?
header("Location: http://www.mydomain.com");
exit();
?>
Code: Select all
exit;
elitecodex wrote:I managed to get some of my scripts to work. They only seem to not redirect when I include a certain file. This file is nothing but full of functions that help layout my page (Link Here) . I have checked and double checked, and have not seen anywhere where I put any kind of output (Unless certain functions are specifcally called). You will notice that I also include another page where I keep my stats (Link Here). Again, I dont see how I output anything. What else is keeping my pages from redirecting? I have tried all the before-mentioned ideas, same result. I thank everyone for any help in advance.
Will
Code: Select all
base=<linkmake>
refresh=0
Code: Select all
$returnValue = $returnValue . "<table border="0" cellpadding="0" cellspacing="0" style="width: 100%">";
$returnValue = $returnValue . "<tr><td style="text-align: center; font-weight: 600; font- size: smaller; background-color: #DDDDFF; color: #000000;">Battle Poll</td></tr>";
$returnValue = $returnValue . "<tr><td style="font-size: smaller;">What feature would you like to see next on BattlePages.com?</td></tr>";
$returnValue = $returnValue . "<tr><td> </td></tr>";
$returnValue = $returnValue . StartMyPoll_ShowResults("next_feature", "VE Manager", "nf_vem", $ref)
Code: Select all
$setVar= $seVar."bla, bla, bla";