Calling php from php through exec() gives no result

前端 未结 6 876
无人及你
无人及你 2021-01-14 06:24

I have a PHP script that creates other PHP files based on user input. Basically, there are files containing language specific constants (define) that can be tra

6条回答
  •  北恋
    北恋 (楼主)
    2021-01-14 06:54

    By executing shell_exec(), you can see the output as if you executed that file via command line. You can just see if there is an error right here.

    There may also be a possibility that shell_exec() or exec() may be disable by your host.

提交回复
热议问题