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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to