PHP ʖ²ἯTH
º/A
LXXXIII. Program Execution functions
½鉜
Those functions provides means to executes commands on the system itself, and means secure such commands.
Шdz
ΞШ͢²¿¿⎄¼þ¾ͿɒԼӈ뱾)չģ¿鵄֧³֡£
°²װ
բЩº¯ʽΪ PHP ºːĵĒ»²¿·֣¬ΞШ±»°²װ¼´¿Ɋ¹Ӄ¡£
ԋАʱŤփ
¸À©չģ¿鎴¶¨ҥȎºΉ薃ָn¡£
Դ Ѝ
¸À©չģ¿鎴¶¨ҥȎºΗʔ´ Ѝ¡£
Ԥ¶¨ҥ³£
¸À©չģ¿鎴¶¨ҥȎºγ£¡£
Ϡ¹زο¼
These functions are also closely related to the backtick operator. Also, while in Safe Mode you must consider the safe_mode_exec_dir directive.
Ŀ¼ escapeshellarg -- escape a string to be used as a shell argument escapeshellcmd -- escape shell metacharacters exec -- Execute an external program passthru -- Execute an external program and display raw output proc_close -- Close a process opened by proc_open and return the exit code of that process. proc_open -- Execute a command and open file pointers for input/output shell_exec -- Execute command via shell and return complete output as string system -- Execute an external program and display output
º/A
ưµ㼯A
pcntl_wtermsig
ɏһ¼¶
escapeshellarg