set_magic_quotes_runtime()

From: Date: Mon, 25 Jun 2001 01:31:00 +0000
Subject: set_magic_quotes_runtime()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-55069@lists.php.net to get a copy of this message
Having trouble with the command in the subject... I have a web server with PHP4 and MySQL with magic_quotes turned on in the default configuration... But when I set_magic_quotes_runtime(0) within a site where I need it turned off it works, but it does not work! For example: echo "[".get_magic_quotes_runtime()."]"; set_magic_quotes_runtime (0); echo "[".get_magic_quotes_runtime()."]"; outputs: [1][0] But the site behaves as though magic quotes is still turned on! Any tricks to using this command? ====================================================================== Murray Shields Email: murray@globalcat.com.au MU Systems Pty Ltd Phone: +61 7 3351 6677 Global Catalogs Pty Ltd Phone: +61 7 3351 4777

« previous php.general (#55069) next »