XXXI. Program Execution Functions

Introduction

Those functions provides means to executes commands on the system itself, and means secure such commands.

Requirements

T�m�n laajennuksen asentaminen ei vaadi ylim��r�isi� ohjelmakirjastoja.

Installation

N�iden funktioiden k�ytt� ei vaadi erillisten ohjelmien asentamista; ne toimitetaan PHP:n mukana.

Runtime Configuration

T�m� laajennus ei m��rittele yht�k��n direktiivi� php.iniss�.

Resource Types

T�m� laajennus ei m��rittele yht�k��n resurssityyppi�.

Predefined Constants

T�m� laajennus ei m��rittele yht�k��n uutta vakiota.

See Also

These functions are also closely related to the backtick operator. Also, while in safe mode you must consider the safe_mode_exec_dir directive.

Sisällys
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_get_status --  Get information about a process opened by proc_open()
proc_nice --  Change the priority of the current process
proc_open --  Execute a command and open file pointers for input/output
proc_terminate --  kills a process opened by proc_open
shell_exec --  Execute command via shell and return the complete output as a string
system -- Execute an external program and display the output