If the code which execute the code is at c:\ : $dir = '/backups'
-----Message d'origine-----
De�: Harpreet [mailto:[EMAIL PROTECTED]
Envoy�: lundi 26 avril 2004 22:29
��: [EMAIL PROTECTED]
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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php