Coin coin comme dirait kadreg
C'est quoi ce bin's : je veux désactiver toutes les magic_quotes de PHP dans mon script, il me fait ok c'est désactivé mais en fait nan
Code :
- <?php
- echo "get_magic_quotes_runtime : " . get_magic_quotes_runtime() . "<br>" ;
- echo "get_magic_quotes_gpc : " . get_magic_quotes_gpc() . "<br>" ;
- ini_set("magic_quotes_gpc", 0) ;
- ini_set("magic_quotes_runtime", 0) ;
- echo "get_magic_quotes_runtime : " . get_magic_quotes_runtime() . "<br>" ;
- echo "get_magic_quotes_gpc : " . get_magic_quotes_gpc() . "<br>" ;
- print_r($_GET);
- ?>
|
Entree :
Sortie :
Citation :
get_magic_quotes_runtime : 0
get_magic_quotes_gpc : 1
get_magic_quotes_runtime : 0
get_magic_quotes_gpc : 0
Array ( [nom] => sylvai\'n )
|
Qq'un a une explication ?
Edit : testé sur un PHP 4.2.0 (win) et un PHP 4.2.2 (nux)
Message édité par *syl* le 26-12-2003 à 00:43:37