note 93779 deleted from function.escapeshellarg by danbrown

From: Date: Tue, 29 Sep 2009 15:40:40 +0000
Subject: note 93779 deleted from function.escapeshellarg by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161149@lists.php.net to get a copy of this message
Note Submitter: Benjamin Schwenk ---- @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.

« previous php.notes (#161149) next »