Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.master.cmc.msu.ru/php/function.addslashes.html
Дата изменения: Sun Feb 3 22:56:03 2002
Дата индексирования: Tue Oct 2 04:30:36 2012
Кодировка:
addslashes

addslashes

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

addslashes -- Quote string with slashes

Description

string addslashes ( string str)

Returns a string with backslashes before characters that need to be quoted in database queries etc. These characters are single quote ('), double quote ("), backslash (\) and NUL (the NULL byte).

Note: magic_quotes_gpc is ON by default.

See also stripslashes(), htmlspecialchars(), and quotemeta().