September 2001
Intermediate to advanced
768 pages
32h 45m
English
bool set_magic_quotes_runtime(int setting Value)
Modifies magic_quotes_runtime.
Returns:
TRUE on success; FALSE on failure
Description:
Toggles the configuration of the magic_quotes_runtime directive for escaping quote marks in strings returned from sources such as databases. Turning on the directive magic_quotes_runtime removes the need for using the add_slashes() function. A single backslash is automatically placed in front of any backslashes or quotes that exist in any string argument. Null bytes are converted to \0.
Version:
Existing since version 3.0.6
Example:
set_magic_quotes_runtime(1); |
Read now
Unlock full access