September 2001
Intermediate to advanced
768 pages
32h 45m
English
The program execution functions can be separated into two groups.
The first group consists of escapeshellarg() and escapeshellcmd(). These functions help make input safer to pass to the command interpreter by quoting the input and/or escaping control characters within it. See the individual function writeups for more details.
The remaining functions— exec(), passthru(), and system()—are used to execute commands in the system’s command interpreter. (In UNIX-like operating systems, this is sometimes called the shell.) The functions in this group share a set of common behaviors:
Each of them attempts to execute a command (or a series of commands) using the command interpreter.
None of them can deal with interactive ...
Read now
Unlock full access