Re: [PHP-WIN] Problems accessing the net units through PHP

2006-09-21 Thread Mitch Miller
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

Re: [PHP-WIN] Problems accessing the net units through PHP

2006-09-21 Thread Stut
On Thu, 21 Sep 2006 10:55:41 +0100, German Piqué <[EMAIL PROTECTED]> 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"; else echo $error . ": El fich

Re: [PHP-WIN] Problems accessing the net units through PHP

2006-09-21 Thread German Piqué
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"; else echo $erro

Re: [PHP-WIN] Problems accessing the net units through PHP

2006-09-21 Thread German Piqué
Well... i answer myself... in the name of the mapped unit appears the server... i'm a lammer X 2006/9/21, German Piqué <[EMAIL PROTECTED]>: I don't know the servername... i have directly the mapped unit. I'll will try the other solutions 'cause the server is on another place and can cause

RE: [PHP-WIN] Problems accessing the net units through PHP

2006-09-21 Thread Mikael Krogius \(Winwap Technologies\)
> Dale Attree wrote: > PHP on windows does not support mapped network drives, > you would need to use sockets... Don't know if this helps in German's situation, but you can use UNC paths with PHP on Windows to access other computers in the same network - this way you don't even have to map the dr

Re: [PHP-WIN] Problems accessing the net units through PHP

2006-09-21 Thread German Piqué
2006/9/13, Alex Turner <[EMAIL PROTECTED]>: Dale Attree wrote: > PHP on windows does not support mapped network drives, you would need to use > sockets and connect to the IP of the machine you wish to write to. With this solution... I readed that i need php version 5 or above to work with COM