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
From: loki
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
the script is vbulletin
function fetch_im_exec($command, $args, $needoutput = false, $dieongs =
true)
{
if (!function_exists('exec'))
{
$this-error =
array(fetch_error('php_error_exec_disabled'));
return
On 5/24/2010 11:31 PM, Bob McConnell wrote:
From: loki
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
From: loki
On 5/24/2010 11:31 PM, Bob McConnell wrote:
From: loki
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
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 :(
but if we move the PHP script
6 matches
Mail list logo