You should check for errors from filemtime().  Looks to me like it
returned false and not an actual timestamp.  Probably a permission issue,
or perhaps you got the path wrong.

-Rasmus

On Sun, 24 Jun 2001, Carmen & Gene wrote:

> Can anyone out there explain why:
>
> <?php
>   // $path = "/path/to/some/php_file/or/$PHP_SELF/";
>   print "<I>This page last modified on ";
>   $LastMod = filemtime("/var/www/html/WebAps/phpRSVP2/rsvp.php");
>   print date("l, F j, Y - g:ia",$LastMod) . "</I>\n";
> ?>
>
> Returns  :
> This page last modified on Wednesday, December 31, 1969 - 6:00pm
> after being run through the above date() params?
>
> Obviously, the file HAS been modified ever so slightly since that date
> in history!!
>
> Thanks,
>
> Gene Kelley
>
>
>
>


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

Reply via email to