I have a forum written in PHP/MySql and it uses messagedb.conf file to call the database and make sure the correct user is logged in and posting. The problem is, that when I login to the forum using netscape without typing WWW in front of the name of the location of the forum, it does not recognize me as being logged in to the forum and refers me to the error page.
Here is my code for the .conf file that calls the database. What can I add to allow me to access this forum without using www before the name of the forum?
<?$ms_hostname = "localhost"; // The hostname of the server running mySQL
$ms_username = "blahblah"; // The username of the mySQL db
$ms_password = "password"; // The password for that db
$ms_dbName = "blahdatabase";
$installUrl = "http://www.myurl.com"; // The url where the message board is installed ie http://www.myurl.com
$installDir = "/forum"; // ie /forum
$pass = "somerandomchars"; // some secret word that is used for the login process.
$allowedTags = "<i>, <b>, <img>, <a>";
?>
Login works fine as long as I access the forum using http://www.myurl.com/forum
But when I try to access it using http://myurl.com/forum it takes me to my error page. Please excuse me for being a lame newbie. Also, it only does this in Netscape for some reason. Thanks...
Johnny