PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
echo "Last modified: ".date("F d Y H:i:s.",filemtime("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.
<div id="bttmbar">
<span id="updated">
<?php
echo "Last modified: ".date("F d Y H:i:s.",filemtime("index.html"));
?>
</span>
</div><!-- end of bttmbar -->
15. Tell Apache to parse certain extensions as PHP. For example,
let's have Apache parse the .php extension as PHP. You could
have any extension(s) parse as PHP by simply adding more, with
each separated by a space. We'll add .phtml to demonstrate.