ldap_search filter filter?
| From: | Richard Lynch | Date: | Fri, 16 Jul 2010 15:42:56 +0000 |
| Subject: | ldap_search filter filter? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306948@lists.php.net to get a copy of this message | ||
Any Best Practice suggestions for potentially hostile user input being
sent to ldap_search($ldap, "(username=$_POST[username])");
Something like an ldap_escape?
Please cc me on replies. Thanks.
--
Some people ask for gifts here.
I just want you to buy an Indie CD for yourself:
http://cdbaby.com/search/from/lynch