note 62003 added to function.quotemeta
| From: | GeorgeAdams at osu1 dot php dot net | Date: | Fri, 17 Feb 2006 04:57:25 +0000 |
| Subject: | note 62003 added to function.quotemeta | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103879@lists.php.net to get a copy of this message | ||
Took me a while to realize this was NOT the command I wanted for escaping potentially harmful
characters in a string that would be used as part of a system command. Instead, I needed either
escapeshellarg() (http://www.php.net/manual/en/function.escapeshellarg.php) or escapeshellcmd()
(http://www.php.net/manual/en/function.escapeshellcmd.php)
----
Server IP: 64.71.164.2
Probable Submitter: 216.166.224.10
----
Manual Page -- http://www.php.net/manual/en/function.quotemeta.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+62003
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62003&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62003&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62003&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62003&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62003&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62003&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62003&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+62003&report=yes
Search -- http://master.php.net/manage/user-notes.php