Re: Going Mad

From: Date: Sat, 30 Nov 2002 18:27:22 +0000
Subject: Re: Going Mad
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-126544@lists.php.net to get a copy of this message
On Saturday 30 November 2002 5:31 pm, Chris Hewitt wrote: > Andy wrote: > ><?php echo "this is a php line"; phpinfo(); ?> > >and save it test.php when i look at it in explorer all i see the preceding > >html code. hat have i done wrong? > >I am using windows 2000 pro. > > It seems as though you have not added the AddType line for php in > httpd.conf and restarted Apache. If your file is test.php then the > ".php" must be part of the AddType line. ..or you are viewing the page as file://foo.php rather than http://localhost/foo.php Cheers -- Phil Driscoll

« previous php.general (#126544) next »