In my HTML-page I am using following HTML + PHP-code:
Today is: <? print(Date("l F d, Y")); ?>.
I would expect to see:
Today is: monday October 4, 2010.
or something like that.
The only thing I see is:
Today is:.
(mind the dot at the end.
This means the PHP-code is not processed!
PHP-code in a .php file works fine.
Adding 'AddType application/x-httpd-php .htm .html' to the .htaccess file = no success
Adding 'addtype application/x-httpd-php .php .htm .inc .html' to the .htaccess file = no success either.
Is there something wrong with my hosting-provider? (on Apache server)
Or am I making some mistake?
Please help, as I am puzzling for many days now.