On Thu, 21 Sep 2006 10:55:41 +0100, German Piqué <extremdur2@xxxxxxxxx>
wrote:
$myfile = "
\\\\Esm2-region2\Depts_REG2\Region_Catalunya\A_TECNOLOGIA\AT_OyM\ACCESO_SSA\Drop3G\Control_total_alarmas\\logs_hfb";
if($error=file_exists($myfile)) echo "El fichero existe<br>";
else echo $error . ": El fichero no existe<br>";
You need to escape \ with a \. So it becomes...
$myfile =
"\\\\Esm2-region2\\Depts_REG2\\Region_Catalunya\\A_TECNOLOGIA\\AT_OyM\\ACCESO_SSA\\Drop3G\\Control_total_alarmas\\logs_hfb";
-Stut
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php