On Sunday 14 January 2001 17:54, Christian Binder wrote:
> The only problem is, that my following script only shows one date (IMO:
> of the first value (.)), and not create the date of each file.
> // get unix-timestamp form each file in subdirectory
> $unixdatum=getlastmod($datei[$i]);
Read again through the getlastmod() docs. That function returns the
modification time of the *currently executed PHP script*.
Use filemtime() instead and it will work
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Install once, run forever. Linux.
--
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]