[PHP] last modification time

2001-08-08 Thread BRACK

Is there any function that can fetch a time of last modification of the 
remote document. 

For example I have a links based on the MySQL database, and I 
want to know what linked site was most resently renewed.

Thank you

Youri

-- 
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]




Re: [PHP] last modification time

2001-08-08 Thread Matt Kaufman

What I do is put a timestamp in the database, using the time(); function,
select it and format it.

Matt Kaufman
- Original Message -
From: BRACK [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 08, 2001 1:40 PM
Subject: [PHP] last modification time


 Is there any function that can fetch a time of last modification of the
 remote document.

 For example I have a links based on the MySQL database, and I
 want to know what linked site was most resently renewed.

 Thank you

 Youri

 --
 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]




Re: [PHP] last modification time

2001-08-08 Thread Bjorn Van Simaeys

Hey,

This is not what BRACK a.k.a. Youri meant (it seems
that Youri is being misunderstood daily...)

He meant that if you can see when the remote server
pages have been updated by their respective webmaster.
I personally don't think that there is a way you can
get this information from *ANOTHER SERVER*. But I hope
I have clarified Youri's question once again.


Greetz,
Bjorn Van Simaeys
www.bvsenterprises.com
*** Efficient Communication starts by LISTENING! ***


--- Matt Kaufman [EMAIL PROTECTED] wrote:
 What I do is put a timestamp in the database, using
 the time(); function,
 select it and format it.
 
 Matt Kaufman
 - Original Message -
 From: BRACK [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, August 08, 2001 1:40 PM
 Subject: [PHP] last modification time
 
 
  Is there any function that can fetch a time of
 last modification of the
  remote document.
 
  For example I have a links based on the MySQL
 database, and I
  want to know what linked site was most resently
 renewed.
 
  Thank you
 
  Youri
 
  --
  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]
 


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
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] last modification time

2001-08-08 Thread Bjorn Van Simaeys

For your information...
---

The http header contains the modification date:
Last-Modified: Tue, 26 Jun 2001 03:46:20 GMT

do this, telnet www.somehost.com 80
wait till it does this:
Trying 203.52.23.1...
Connected to www.somehost.com.
then type this:
HEAD /path/to/file/or/directory/ HTTP/1.0

(hit enter twice)

enjoy

Twigman...


On 2001.08.09 08:01 Bjorn Van Simaeys wrote:
 Hey,
 
 This is not what BRACK a.k.a. Youri meant (it seems
 that Youri is being misunderstood daily...)
 
 He meant that if you can see when the remote server
 pages have been updated by their respective
webmaster.
 I personally don't think that there is a way you can
 get this information from *ANOTHER SERVER*. But I
hope
 I have clarified Youri's question once again.
 
 
 Greetz,
 Bjorn Van Simaeys
 www.bvsenterprises.com
 *** Efficient Communication starts by LISTENING! ***
 
 
 --- Matt Kaufman [EMAIL PROTECTED] wrote:
  What I do is put a timestamp in the database,
using
  the time(); function,
  select it and format it.
  
  Matt Kaufman
  - Original Message -
  From: BRACK [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, August 08, 2001 1:40 PM
  Subject: [PHP] last modification time
  
  
   Is there any function that can fetch a time of
  last modification of the
   remote document.
  
   For example I have a links based on the MySQL
  database, and I
   want to know what linked site was most resently
  renewed.
  
   Thank you
  
   Youri


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
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]