Hello,
I have a problem that I am runing into while making a script for my client.
His whole site was done in shtml by previous programmer. My job was to make a redirection script to work. So in the main index.shtml page I included the php file using the ssi method and it worked. All the if statements work. Now in the include file which is called redirect.php I have the code
header("Location: [url]http://www.yahoo[/url]");
header("Location: ".$url."");
Both of these headers dont work even though there on seperate if statements. The results work but the headers just dont redirect.
Is there a way to make this work or is there an ssi way of redirecting with php variables. I am so lost in what to do. I have searched all over for this but cannot find it.
Thank you in advance for reading/replying to my post.