I'm still using an old school code on one of my .html pages to display the current date -
<?php
echo date("F j, Y");
?>
with the following in vhost.conf to get it to work - (on the html page)
AddType application/x-httpd-php .php .html .htm
AddType application/x-httpd-php-source .phps
The problem comes when I try to add
AddType 'text/html; charset=ISO-8859-1' html
to .htaccess
It cancels out the php and the date no longer displays.
Could I get some advice on a more 2011 type approach ?
[edited by: tedster at 10:03 pm (utc) on Apr 29, 2011]
[edit reason] maintenance [/edit]