[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Execute php from a .shtml file
- Subject: [cobalt-users] Execute php from a .shtml file
- From: AHA Lists <lists@xxxxxxxxxxxx>
- Date: Thu Apr 25 16:00:41 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I need to execute some php commands within a .shtml file. Renaming the file
is not an option. An example of some code would be
<? echo date("m/d/Y", getlastmod()); ?> to get the modification date of the
file.
I edited the srm.conf file
AddType application/x-httpd-php .shtml
And tried
AddType application/x-httpd-php .php .shtml
Restarted httpd,
and still no luck. What else do I need to do?
Thanks
Kody