note 41946 deleted from function.set-magic-quotes-runtime by nlopess

From: Date: Tue, 27 Apr 2004 13:10:44 +0000
Subject: note 41946 deleted from function.set-magic-quotes-runtime by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68867@lists.php.net to get a copy of this message
Note Submitter: milambar at milambar dot com ---- Ive noticed a weird thing. I have all the entries in /etc/php.ini for magic quotes set to Off. I put set_magic_quotes_runtime(0) in the top of my script. Yet, when I do: $input = preg_replace("/(<\\/?.*?>)/esi", "strtolower('\\\\1')", $input); It escapes any quotes regardless of the magic quotes settings. This is incredibly annoying. I've yet to discover a workround. *headbash into wall in fustration*

« previous php.notes (#68867) next »