On Sunday 11 January 2004 21:04, Nico Berg wrote: > I use Apache version 1.3 and WIndows 2000. The site is not global but only > local so I use the url http://localhost/index.html > > This index.html look's like this:
[snip] > So the php part is not done at all. Is that right? I always believed php > should work in html? By default the webserver only treats files with the .php extension (and a few others, see your webserver config) as PHP files. If you want it to process .html files as PHP then look for the following line (or similar) in httpd.conf: AddType application/x-httpd-php .php4 .php3 .phtml .php .inc and add .html to the end of it, then restart Apache. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* "I got everybody to pay up front...then I blew up their planet." "Now why didn't I think of that?" -- Post Bros. Comics */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php