Re: Problems accessing the net units through PHP

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

 



Also ... what user is PHP running as? If it's running as a service configured as "Local System" it will not have network access like you're trying to get.

In order for services to have access to other Windows networking resources (ex: shared folders), it must be running as a user, NOT Local System.

-- Mitch



German Piqué wrote:
Well, i'm trying the UNC paths, but without success. Now I'm trying with
this piece of code:

$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>";


An the output int he browser is:

: El fichero no existe

the translation is: "The file doesn't exists"

logs_hfb is the file I need to read :/


--
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