RE: [PHP] site last updated

From: Date: Sat, 03 Nov 2001 23:57:58 +0000
Subject: RE: [PHP] site last updated
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73365@lists.php.net to get a copy of this message
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:oliver.walkhoff@bluewin.ch] > Sent: Saturday, November 03, 2001 10:26 AM > To: php-general@lists.php.net > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net To contact the list > administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#73365) next »