mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Goodbye Magic Quotes
This commit is contained in:
@@ -8,13 +8,6 @@ $_FORM = &$_GET;
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// If PHP added some slashes to quotes, get rid of them
|
||||
if ($MQ) {
|
||||
foreach ($_FORM as $name => $value) {
|
||||
$_FORM[$name] = stripslashes($value);
|
||||
}
|
||||
}
|
||||
|
||||
// We received something to search for
|
||||
if (!empty($_FORM['pattern'])) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user