Page 1 of 1

index.php vs. index.html

PostPosted: 16. February 2009 15:19
by mikemoum
php code in index.php works as expected. php code in index.html does not work.

Is there a way to get php code in index.html to work, or does it have to be in *.php?

Thanks,
Mike

Re: index.php vs. index.html

PostPosted: 16. February 2009 15:47
by Wiedmann
Is there a way to get php code in index.html to work

You can adjust AddType in "httpd-xampp.conf".

or does it have to be in *.php?

That's the common practice.

Re: index.php vs. index.html

PostPosted: 16. February 2009 16:50
by mikemoum
Thanks, I appreciate the response.

Mike