- Joined
- Mar 6, 2007
- Messages
- 175
- Reaction score
- 3
I have a .com site, but when I host through a java applet it READS the index.php.
So instead of showing the site I want, which I host through my IP it shows this, just like when you READ the index.php:
<?phpsession_start(); /* DynastyCMSCopyrigt (C) 2007 dynastycmsThis program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version 2of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><?php require ('functions/config.php');require ('functions/functions.php');$rs = mysql_connect($dbhost, $dbuser, $dbpasswd) or die('Could not establish database connection.');mysql_select_db($dbname,$rs) or die(mysql_error()); include ('templates/'.$template.'/index.php');?>How can I make my .com site working just as it does with my IP?
That
Thanks
So instead of showing the site I want, which I host through my IP it shows this, just like when you READ the index.php:
<?phpsession_start(); /* DynastyCMSCopyrigt (C) 2007 dynastycmsThis program is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public Licenseas published by the Free Software Foundation; either version 2of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.*/?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><?php require ('functions/config.php');require ('functions/functions.php');$rs = mysql_connect($dbhost, $dbuser, $dbpasswd) or die('Could not establish database connection.');mysql_select_db($dbname,$rs) or die(mysql_error()); include ('templates/'.$template.'/index.php');?>How can I make my .com site working just as it does with my IP?
That
To view the content, you need to sign in or register
the same is as
To view the content, you need to sign in or register
?Thanks
