I was hosting on a linux server and my site worked great! Went to a Windows server with php and everything, forums, etc work fine except for this:
<?php
// nothing included so include main.htm by default
if( $page == "" )
{
require("mymain.htm");
}
elseif( $page == "main" )
{
require("mymain.htm");
}
elseif( $page == "ranks" )
{
include("http://www.cnn.com");
}
elseif( $page == "rules" )
{
require("myrules.htm");
}
elseif( $page == "pos" )
{
require("mypos.htm");
}
etc... it goes on for about 10 more...
I am calling this as such: http://www.9thsf.com/portal.php?page=rules
When I run it, it used to display that page inside my current one... now the only thing it displays is my mymain.htm. I tested this by changing the mymain.htm to cnn.com and cnn showed up. I can't get it to pass the page variable anymore and now most of my site links dont work!!!
Anyone tell me what the heck I am doing wrong?
My site is at www.9thsf.com if you need to see what I am talking about !
Thanks !!!
Eroc