March 2002
Intermediate to advanced
528 pages
21h 29m
English
escapeshellcmd
string escapeshellcmd(string command)
Escapes any characters in command that
could cause a shell command to run additional commands. When directly
passing user input (such as from forms) to the exec( ) or system( ) functions, you should use
this function to escape the data to ensure that the argument
isn’t a security risk.