PHP: shell_exec - Manual - PHP: Hypertext Preprocessor

PHP: shell_exec - Manual - PHP: Hypertext Preprocessor

瀏覽:878
日期:2025-06-13
As others have noted, shell_exec and the backtick operator (`) both return NULL if the executed command doesn't output anything. This can be worked around by doing anything like the following: shell_exec ("silentcmd && echo ' '"); Here we're simply output...看更多