Re: Using register_globals=on with $_SESSION['var']?

From: Date: Sat, 03 May 2003 08:59:01 +0000
Subject: Re: Using register_globals=on with $_SESSION['var']?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146246@lists.php.net to get a copy of this message
On Saturday 03 May 2003 10:20, Andre Dubuc wrote: > I designed my site with register_globals="off" and used $_POST['var'] or > $_SESSION['var'] throughout. However, I am thinking of switching my IP, and > the new IP has register_globals set to 'on'. > > My question: what security issues should I be concerned about if I left it > the way it is, and use $_POST['var'] or $_SESSION['var'] throughout with > register_globals="on"? > > I would greatly apprciate any input, advice, or warnings about my proposed > course of action. By initialising variables you'll minimise the risk of malicious people injecting variables when you have register_globals enabled. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Make me look like LINDA RONSTADT again!! */

« previous php.general (#146246) next »