How to use .php on .com site?

Status
Not open for further replies.
Junior Spellweaver
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 the same is as ?
Thanks :)
 
You actually host the site on your own pc?
and thus use a javascript redirect on your .com host to point to your Pc..
if this is correct u should see your page if u go to
 
Status
Not open for further replies.
Back