HTTP last modified

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
f1nutter
Forum Contributor
Posts: 125
Joined: Wed Jun 05, 2002 12:08 pm
Location: London

HTTP last modified

Post by f1nutter »

I am trying to get the time/date a web page was last modified. I see PHP can send "Last Modified" headers, but how does it read them?

filemtime and filectime are no good, because I want to check remote files. I would like check the header without reading the whole file. Something like getlastmod but which can take a parameter.

Thanks.
Post Reply