jcadima
5/13/2016 - 6:42 PM

Reading an individual Setting

Reading an individual Setting

<?php
/*
Sometimes phpinfo()can be overkill if you know what you’re looking for.
For example, you may just want to find out whether magic quotes is turned
on or check an include path. Furthermore, phpinfo() won’t help you if
you’re writing a script that behaves one way if a setting is enabled and
another way if it’s not.
*/

echo "The register_globals value is " . ini_get('register_globals');