Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread Sascha Meyer
Hello Stephane, Hi Niel, > > ... > > but if we move the PHP script from \\xxx.xxx.xxx.xxx\scriptdir\ > > to c:\scriptdir\ then it's work !! > ... > Is this operating in a CLI or web-server environment? If it is > web-server then it is probably a permissions issue. By default > Apache/PHP do NOT ha

Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread Richard Quadling
On 24 May 2010 19:35, loki wrote: > Hello, > > PHP is installed in c:\program files\php > the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ > in the PHP script, we try to launch the command @exec(...) with a executable > located in c:\program files\ourexecutable\ > > it's not work :

Re: [PHP-WIN] @EXEC command not work :(

2010-05-25 Thread loki
I have a begin of explanation When PHP is run as CGI it's work but with this header message : '\\xxx.xxx.xxx.xxx\scriptdir' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. Status: 200 OK X-Powered-By: PHP/5.2.8 Cont

Re: [PHP-WIN] @EXEC command not work :(

2010-05-24 Thread Niel Archer
> Hello, > > PHP is installed in c:\program files\php > the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ > in the PHP script, we try to launch the command @exec(...) with a > executable located in c:\program files\ourexecutable\ > > it's not work :( > > but if we move the PHP sc

[PHP-WIN] @EXEC command not work :(

2010-05-24 Thread loki
Hello, PHP is installed in c:\program files\php the PHP script are in network drive \\xxx.xxx.xxx.xxx\scriptdir\ in the PHP script, we try to launch the command @exec(...) with a executable located in c:\program files\ourexecutable\ it's not work :( but if we move the PHP script from \\xxx.xx