logo       

RE: how to display a file's last updated time using php?: msg#03565

php.general

Subject: RE: how to display a file's last updated time using php?

Read the manual

www.php.net/filemtime

---John Holmes...

> -----Original Message-----
> From: Rui Huang [mailto:ruhuang@xxxxxxxxxxx]
> 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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise