I found the shell_exec()
function is disabled in my remote server.
Is there is any other way or tips to execute the shell_exec()
function?
Well, there are some alternatives (eg system()
, exec()
, passthru()
, backtick operator), but my guess is that they will be disabled too :)
I think you're out of luck here!
Is there is any other way or tips to execute the shell_exec() function?
Probably no, because the function is usually disabled for security reasons.
You would have to talk to your provider, or - if possible - look for a PHP library that does what you want to do without needing shell_exec()
You can see ref of official documentation
[http://www.php.net/manual/en/ref.exec.php][1]