RE: [PHP-WIN] using filemtime
| From: | William CANDILLON | Date: | Mon, 26 Apr 2004 20:40:58 +0000 |
| Subject: | RE: [PHP-WIN] using filemtime | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23550@lists.php.net to get a copy of this message | ||
If the code which execute the code is at c:\ : $dir = '/backups'
-----Message d'origine-----
De : Harpreet [mailto:harpreet@crispincorp.com]
Envoyé : lundi 26 avril 2004 22:29
À : php-windows@lists.php.net
Objet : [PHP-WIN] using filemtime
The filemtime works for the following but the minute i use a server name as
my direcotry path it gives me an error Warning: filemtime(): Stat failed for
\\servername\c (errno=2 - No such file or directory) in
Like this works
$dir='c:\backups';
echo date("m-d-y H:i:s",filemtime($dir));
if i change the $dir to
$dir='\\servername\c\backups';
echo date("m-d-y H:i:s",filemtime($dir));
it fails
help is appreciated
Thanks
Regards,
Harpreet Kaur
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php