PHP manual integration - exec() runs bad command
Submitted by Friday, 23 September, 2011 - 12:01
on
Hello,
when I run command
> HH C:\\php_manual_en.chm::/res/function.str-replace.html
in Windows console, it really runs "C:\\php_manual_en.chm::/res/function.str-replace.html".
But if I run the same command via exec() in BSH file, it runs this:
> res://ieframe.dll/dnserrordiagoff_webOC.htm#mk:@MSITStore:C:\php_manual_en.chm::/res/function.str_replace.html
Because of that, PHP manual runs and shows error 404.
Thank you for answers.
when I run command
> HH C:\\php_manual_en.chm::/res/function.str-replace.html
in Windows console, it really runs "C:\\php_manual_en.chm::/res/function.str-replace.html".
But if I run the same command via exec() in BSH file, it runs this:
> res://ieframe.dll/dnserrordiagoff_webOC.htm#mk:@MSITStore:C:\php_manual_en.chm::/res/function.str_replace.html
Because of that, PHP manual runs and shows error 404.
Thank you for answers.