<?xml version="1.0" encoding="utf-8"?>
<tutorial>

<description>Learn how to check when the file was last modified using power of PHP.</description>
<keywords>tutorial, PHP, tutorials, modified, changed, edited, edit, cool effects using php</keywords>
<title>Last Modified</title>

<slug>Learn how to check when the file was last modified using power of PHP.</slug>

<text>
Alright, this is a simple little script which tells when the file was last modified using the PHP filemtime() function.
<ol>
	<li>Make the last modified variable and define the filetime() function.</li>
	<li>Echo out the date is was last modified..</li>
</ol>
Here it is in PHP:
<![CDATA[
<pre>
&lt;?

//where thefile.php is the current file
$last_modified = filemtime("thefile.php");

//print it all out
print("Last Modified ");
print(date("m/j/y h:i", $last_modified));

?&gt;
</pre>
]]>
See, its really easy to do in PHP :)
</text>
</tutorial>

