Re: "last motified" of webpage?

  • From: "Tyler Littlefield" <tyler@xxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sat, 6 Jun 2009 09:54:30 -0600

might note that you don't need to include the page path; just use $PHP_SELF.


Thanks,
Tyler Littlefield
Web: tysdomain.com
email: tyler@xxxxxxxxxxxxx
My programs don't have bugs, they're called randomly added features.

----- Original Message ----- From: "The Elf" <inthaneelf@xxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, June 06, 2009 9:36 AM
Subject: Re: "last motified" of webpage?


hmmm, thank you, smile

elfy proprietor, The Grab Bag, for blind computer users and programmers
http://grabbag.alacorncomputer.com
Owner: Alacorn Computer Enterprises
"own the might and majesty of a Alacorn!"
www.alacorncomputer.com
Owner: Agemtree
"merchants in fine facetted and cabochon gemstones"
www.agemtree.com
----- Original Message ----- From: "Holdsworth, Lynn" <Lynn.Holdsworth@xxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, June 05, 2009 1:10 AM
Subject: RE: "last motified" of webpage?


Here's how I do it in php:

<?php
...
$page = "/var/www/html" . $PHP_SELF;
$change = date("d/m/Y G:m:s",filemtime($page));
echo "<p>Page last modified: $change</p>\n";
...
?>

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Alex Hall
Sent: 05 June 2009 02:08
To: programmingblind@xxxxxxxxxxxxx
Subject: "last motified" of webpage?

Hi all,
How do people do that cool thing where a line in a webpage says "page
last updated: [date] [time]"? Is that manual, or is there a script that
can extract the information and put it there?

Have a great day,
Alex
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



--
DISCLAIMER:

NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system.

RNIB endeavours to ensure that emails and any attachments generated by
its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted.
We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent
those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk



This message has been scanned for viruses by Websense Hosted Security - http://www.websense.com/content/HostedEmailSecurity.aspx

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: