note 93144 added to function.escapeshellarg

From: Date: Tue, 25 Aug 2009 14:56:22 +0000
Subject: note 93144 added to function.escapeshellarg
Groups: php.notes 
Request: Send a blank email to php-notes+get-159872@lists.php.net to get a copy of this message
No - the returned output from escapeshellarg(" single quote'd ") is correct. The correct escape sequence is ' single quote'\''d ' because you cannot escape ' within '...'. Try it youselves: jvc@xps:~$ echo ' single quote'\''d ' single quote'd ---- Server IP: 87.54.44.10 Probable Submitter: 212.242.144.10 ---- Manual Page -- http://www.php.net/manual/en/function.escapeshellarg.php Edit -- https://master.php.net/note/edit/93144 Del: integrated -- https://master.php.net/note/delete/93144/integrated Del: useless -- https://master.php.net/note/delete/93144/useless Del: bad code -- https://master.php.net/note/delete/93144/bad+code Del: spam -- https://master.php.net/note/delete/93144/spam Del: non-english -- https://master.php.net/note/delete/93144/non-english Del: in docs -- https://master.php.net/note/delete/93144/in+docs Del: other reasons-- https://master.php.net/note/delete/93144 Reject -- https://master.php.net/note/reject/93144 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#159872) next »