PHP "last updated"
Posted: Thu Aug 10, 2006 11:44 am
Hi. I'm trying to get a 'last updated' PHP script on my website. I have the following embedded at the bottom of my main page, index.html.
When I view the page, there is nothing, no error message or anything. PHP is enabled on the server; other php scripts work fine.
Here is a link to the page where the php script is located. It should appear at the bottom of the page, on the orange bar. I was wondering if it was a permissions problem. Can anyone help? Thanks.
Code: Select all
<?php
echo "Last modified: ".date("F d Y H:i:s.",filemtime("index.html"));
?>Here is a link to the page where the php script is located. It should appear at the bottom of the page, on the orange bar. I was wondering if it was a permissions problem. Can anyone help? Thanks.