RE: using filemtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If the code which execute the code is at c:\ : $dir = '/backups' 

-----Message d'origine-----
De : Harpreet [mailto:harpreet@xxxxxxxxxxxxxxx] 
Envoyé : lundi 26 avril 2004 22:29
À : php-windows@xxxxxxxxxxxxx
Objet :  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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux