php man page for ldap_escape

Query: ldap_escape

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LDAP_ESCAPE(3)								 1							    LDAP_ESCAPE(3)

ldap_escape - Escape a string for use in an LDAP filter or DN

SYNOPSIS
string ldap_escape (string $value, [string $ignore], [int $flags])
DESCRIPTION
Escapes $value for use in the context implied by $flags.
PARAMETERS
o $value - The value to escape. o $ignore - Characters to ignore when escaping. o $flags - The context the escaped string will be used in: LDAP_ESCAPE_FILTER for filters to be used with ldap_search(3), or LDAP_ESCAPE_DN for DNs.
RETURN VALUES
Returns the escaped string. PHP Documentation Group LDAP_ESCAPE(3)
Related Man Pages
cgi_url_escape(3) - debian
escapeshellcmd(3) - php
pg_escape_identifier(3) - php
addcslashes(3) - php
mysql_escape_string(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch