Re: filemtime() on Windows

From: Date: Thu, 17 Jul 2003 17:58:16 +0000
Subject: Re: filemtime() on Windows
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-155661@lists.php.net to get a copy of this message
Nevermind. I had a typo in the path. Sorry... -Shawn "Shawn McKenzie" <nospam@mckenzies.net> wrote in message news:20030717173905.15425.qmail@pb1.pair.com... > I am trying to get the last modified time of an HTML file on my windows > machine. The file is in a sub dir of my script dir and I can use the same > path for file_get_contents() and fopen() and the path works great. > > $filetime = date("mdyhis", filemtime("subdir/file.html")); > > Always returns: 123169060000 (December 31, 1969) > > Any ideas? TIA > -Shawn > > Windows XP > PHP 4.3.1 > Apache 2.0.45 > > >

« previous php.general (#155661) next »