Re: Problems accessing the net units through PHP
| From: | Stut | Date: | Thu, 21 Sep 2006 10:00:49 +0000 |
| Subject: | Re: Problems accessing the net units through PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27169@lists.php.net to get a copy of this message | ||
On Thu, 21 Sep 2006 10:55:41 +0100, German Piqué <extremdur2@gmail.com> 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