Hi,
I am running an open source script and I keep getting an error. I have had this error many times when running open source scripts.
the error is : Undefined Variable
Is there a setting in php.ini that can solve this ?
cheers
If you wish to continue coding this way then edit your php.ini file to show:
register_globals = On
The new (secure) way to refer to passed variables is:
if (isset($_POST["variable"])) { //if using post
echo($_GET["variable"]); //if using get
Note no $ in above variable names.
More details can be found at: http://www.php.net/manual/en/language.variables.predefined.php