You can do this in a per-page basis w/:

$modified = stat("yourfile.html"); 
echo date("l, F dS",$modified[9]);

(As with most things ;).. this can be found in the manual. Check @
php.net/stat for more info..

%Ryan

> -----Original Message-----
> From: oliver walkhoff [mailto:[EMAIL PROTECTED]] 
> Sent: Saturday, November 03, 2001 10:26 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] site last updated
> 
> 
> hi all
> 
> i am looking for a simple way to find (and then display) the 
> date of the last change to an entire web site. an example is 
> in the footer on
> php.net:
> 
> "Last updated: Sat Nov 3 13:10:40 2001 EST"
> 
> thanks for your help
> oliver walkhoff
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] To contact the list 
> administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to