/    Sign up×
Community /Pin to ProfileBookmark

Finding Date and Time Stamp of Page’s Last Update

Are there any functions (preferably PHP or PERL) or Web services that can determine the date and time a Web page was last updated? I am referring to pages not on my own server, but on another external server. I am interested in writing, or using an already written, routine to check date and time stamps on certain public pages and alert me as to when they get updated.

Thanks.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@ray326Jun 08.2008 — The HTTP HEAD method will do that as accurately as the server provides.
Copy linkTweet thisAlerts:
@devel95authorJun 08.2008 — Do you have an sample code in PHP? Or can you point me to the PHP function to use? Thanks for your help.
Copy linkTweet thisAlerts:
@ray326Jun 09.2008 — I'm not a phper. In telnet it would be something like:

telnet www.site.com 80

HEAD /index.html HTTP/1.0
×

Success!

Help @devel95 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...