CodeIgniter Forums

Full Version: exec - Do i need to escape with escapeshellarg?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I use the following method to get the form submitted values.


PHP Code:
$this->input->post(''

Do i need to use escapeshellarg to use the input value in exec()?
Because i am getting lot of single quotes in the result
There's a big red warning on the PHP manual page for exec().