Just setting register_globals = on you get the funtionally bellow wich is NO recommended for security reasons. Highly recommended to read this variables always from $_GET and $_POST global arrays, check and filter the values recived, and you will get a site a bit more secure.
Regards, Jordi.
Svensson, B.A.T. (HKG) wrote:
Oh, forgett, I believe if you turn off safe mode, then you can access them via variable names, but not really recommended from a security point of view.
-----Original Message----- From: Michael To: php-windows@xxxxxxxxxxxxx Sent: 27-5-2004 22:37 Subject: PHP GET VARIABLES
I'm working through a tutorial book. They are retrieving variables from a GET parameter by just referencing the variable in the script.
example:
<?php
echo "Region Name is " . $regionName . "\n";
?>
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php