




| Resultats | security magicquotes | Contact |
|
Manuel PHP
|
|
Table : .Introduction.General considerations .Installed as CGI binary .Installed as an Apache module .Filesystem Security .Database Security .Error Reporting .Using Register Globals .User Submitted Data .Magic Quotes .Hiding PHP .Keeping Current |
security magicquotesMagic QuotesTable of ContentsWarning
This feature is DEPRECATED and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged. Magic Quotes is a process that automagically escapes incoming data to the PHP script. It's preferred to code with magic quotes off and to instead escape the data at runtime, as needed. What are Magic QuotesWhen on, all ' (single-quote), " (double quote), \ (backslash) and NULL characters are escaped with a backslash automatically. This is identical to what addslashes() does. There are three magic quote directives:
|


PHP 手册