Re: Glabal variables

From: Date: Fri, 25 Apr 2003 08:33:12 +0000
Subject: Re: Glabal variables
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-19609@lists.php.net to get a copy of this message
Hi, how do you get the idea you need register_globals set on to use session_register() ??? IMHO session_register("user") creates the variable $_SESSION["user"] Bernhard ----- Original Message ----- From: "Harpreet" <harpreet@crispincorp.com> To: <php-windows@lists.php.net> Sent: Thursday, April 24, 2003 7:27 PM Subject: [PHP-WIN] Glabal variables > I need to use session variables in my php application and so define then > using > > <?php session_start(); > session_register("user"); > > but for this I need to set the register_global to On. In my ini file i see > the following comment: >

« previous php.windows (#19609) next »