note 20799 deleted from function.ini-set by philip

From: Date: Thu, 11 Jul 2002 09:22:27 +0000
Subject: note 20799 deleted from function.ini-set by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-32888@lists.php.net to get a copy of this message
Reply to: johnzoet@netscape.com If setting cannot be set function returns FALSE. You have to check if it is identical to FALSE. Consider: if(ini_set("magic_quotes_gp", "0") === FALSE) echo "Cannot set"; else echo "It's OK"; Output will be: "Cannot set" Because there is no setting "magic_quotes_gp" there is only "magic_quotes_gpc". Try to change it and it will work.

« previous php.notes (#32888) next »