RE: [PHP] how to display a file's last updated time using php?
http://www.php.net/manual/en/function.filemtime.php Warren Vail Tools, Metrics & Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -Original Message- From: Rui Huang [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 7: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
RE: [PHP] how to display a file's last updated time using php?
how so? I've had no problems with getting that info from java script inside php -Original Message- From: Rui Huang [mailto:[EMAIL PROTECTED]] Sent: Friday, 24 May 2002 12: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
RE: [PHP] 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:[EMAIL PROTECTED]] > 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
[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