Name

get_magic_quotes_gpc

Synopsis

bool get_magic_quotes_gpc(  )

Returns the current value of the quotes state for GET/POST/cookie operations. If true, all single quotes (''), double quotes (""), backslashes (\), and NUL-bytes ("\0") are automatically escaped and unescaped as they go from the server to the client and back.

Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.