note 93779 added to function.escapeshellarg

From: Date: Mon, 28 Sep 2009 22:28:21 +0000
Subject: note 93779 added to function.escapeshellarg
Groups: php.notes 
Request: Send a blank email to php-notes+get-161131@lists.php.net to get a copy of this message
@rmays at castlecomm dot com Sorry dude, but your "incorrectly escaped string!!!!" is not that incorrect at all. ;) Just go into your own linux shell and use the string you tought it was incorrectly escaped together with an echo command: $ echo ' single quote'\''d ' single quote'd ^^^ As you can see above, the resulting output is right. However, if you try this with the string you expected to be right... $ echo ' single quote\'d ' ...then this will lead to no output at all, because you are still in input mode for the shell. ---- Server IP: 208.69.120.35 Probable Submitter: 70.166.89.56 ---- Manual Page -- http://www.php.net/manual/en/function.escapeshellarg.php Edit -- https://master.php.net/note/edit/93779 Del: integrated -- https://master.php.net/note/delete/93779/integrated Del: useless -- https://master.php.net/note/delete/93779/useless Del: bad code -- https://master.php.net/note/delete/93779/bad+code Del: spam -- https://master.php.net/note/delete/93779/spam Del: non-english -- https://master.php.net/note/delete/93779/non-english Del: in docs -- https://master.php.net/note/delete/93779/in+docs Del: other reasons-- https://master.php.net/note/delete/93779 Reject -- https://master.php.net/note/reject/93779 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161131) next »