in reply to Re^2: Asynchronous Program Spawning
in thread Asynchronous Program Spawning
Due care must be spent on sanitizing and escaping the arguments if they are not hard coded.
$file_name = 'file name'; system("program $file_name &"); # Oops!
Without due care, the code may not work, or worse, it could be vulnerable to injection attacks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Asynchronous Program Spawning
by BrowserUk (Patriarch) on Feb 12, 2006 at 19:40 UTC | |
by ikegami (Patriarch) on Feb 12, 2006 at 19:48 UTC | |
|