RE: [PHP] how to display a file's last updated time using php?
| From: | John Holmes | Date: | Fri, 24 May 2002 01:25:45 +0000 |
| Subject: | RE: [PHP] how to display a file's last updated time using php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99020@lists.php.net to get a copy of this message | ||
Read the manual
www.php.net/filemtime
---John Holmes...
> -----Original Message-----
> From: Rui Huang [mailto:ruhuang@indiana.edu]
> Sent: Thursday, May 23, 2002 10:17 PM
> To: 'php-general'
> Subject: [PHP] how to display a file's last updated time using php?
>
> Hi, friends,
>
> I want to display the last updated time of a file using php,
> but I don't know which function I should use. It seems that
> the date() just show the current time.
>
> For html file, a simple javascript works well, but in php files
> that script works weired. How to solve that problem?
>
> Thanks a lot.
>
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php