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
escapeshellcmd(3) - php
addslashes(3) - php
pg_escape_literal(3) - php
escapeshellarg(3) - php
css::dom::util(3pm) - debian
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!