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
define
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.