about get_cfg_var() function
am 14.09.2007 10:16:02 von bjlinwuecho get_cfg_var("register_globals"); Why it doesn't output anything?
echo get_cfg_var("register_globals"); Why it doesn't output anything?
bjlinwu wrote:
> echo get_cfg_var("register_globals"); Why it doesn't output anything?
>
Hi,
try this script to see what is going on.
echo "false=".false;
echo "
true=".true;
?>
Regards,
Erwin Moller
On 14.09.2007 10:16 bjlinwu wrote:
> echo get_cfg_var("register_globals"); Why it doesn't output anything?
>
Look what docs for ini_get say
"A boolean ini value of off will be returned as an empty string"
--
gosha bine
makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi
On Sep 14, 4:43 pm, Erwin Moller
> bjlinwu wrote:
> > echo get_cfg_var("register_globals"); Why it doesn't output anything?
>
> Hi,
>
> try this script to see what is going on.
>
>
> echo "false=".false;
> echo "
true=".true;
> ?>
>
> Regards,
> Erwin Moller
it output
false=
true=1
I understand , thanks!