escapeshellarg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have to execute an external command, with an argument (filename or directory name) given by user input (via a form), ie something like this:

exec('ls $_POST[...]')

what do you think about using escapeshellarg() function in this case ? can I rely on it to have a secure solution ? or is there a risk ? ...


thank you.


--
---
--Mohamed CHAARI   (mailto : mohamed.chaari@xxxxxx)
STMicroelectronics - Tunis - HPC/STS Division
Phone: (+216) 70 10 52 09 - TINA: 157 5209

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux