""lenar"" <[EMAIL PROTECTED]> wrote in message
9h5itc$hir$[EMAIL PROTECTED]">news:9h5itc$hir$[EMAIL PROTECTED]...
> because $LastMod == 0 .. I assume your timezone is GMT-6 ?
correction - it returns false in this case, which gets converted to 0 in date() which
in turn returns seconds from unix
because $LastMod == 0 .. I assume your timezone is GMT-6 ?
This is because that file doesn't exist or you don't have permissions for it or
something like that.
lenar.
"Carmen & Gene" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can anyone out there expla
On Sun, Jun 24, 2001 at 03:19:52PM -0500, Carmen & Gene wrote:
> Can anyone out there explain why:
>
>// $path = "/path/to/some/php_file/or/$PHP_SELF/";
> print "This page last modified on ";
> $LastMod = filemtime("/var/www/html/WebAps/phpRSVP2/rsvp.php");
> print date("l, F j, Y - g:i
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:
>
>// $path = "/path/to/some/
Can anyone out there explain why:
This page last modified on ";
$LastMod = filemtime("/var/www/html/WebAps/phpRSVP2/rsvp.php");
print date("l, F j, Y - g:ia",$LastMod) . "\n";
?>
Returns :
This page last modified on Wednesday, December 31, 1969 - 6:00pm
after being run through the above dat
5 matches
Mail list logo