Hello,
I'm trying to execute an Network command with PHP exec() function but
i can't.
The PHP script looks like the following:
<?php
...
exec('\\PTtype\ Myapp');
...
?>
When i execute this command in the windows shell i've no problem, but
when i use PHP exec() function it simply don't run. It seems that the
instruction is jumped.
I guess it isn't a PHP problem because when i make:
<?php
...
exec('C:\\WINDO WS\\NOTEPAD:EXE ');
...
?>
NOTEPAD is correctly opened.
Probably the problem has to do with the way the 'Path' is typed.
Any HELP please?
Thanks.
Regards,
Miguel
I'm trying to execute an Network command with PHP exec() function but
i can't.
The PHP script looks like the following:
<?php
...
exec('\\PTtype\ Myapp');
...
?>
When i execute this command in the windows shell i've no problem, but
when i use PHP exec() function it simply don't run. It seems that the
instruction is jumped.
I guess it isn't a PHP problem because when i make:
<?php
...
exec('C:\\WINDO WS\\NOTEPAD:EXE ');
...
?>
NOTEPAD is correctly opened.
Probably the problem has to do with the way the 'Path' is typed.
Any HELP please?
Thanks.
Regards,
Miguel
Comment