[thelist] php session variables problem

Maganizo Monawe mmonawe at gmail.com
Sun Jul 13 11:58:40 CDT 2008


Thanks Brady,

mean I have still not managed to solve my problems but have gone round
by doing all I wished to do on the second page on the same first page.

Maganizo

On 7/12/08, Brady Mitchell <mydarb at gmail.com> wrote:
>
> On Jul 12, 2008, at 742AM, Maganizo Monawe wrote:
>> <?php
>>
>> session_start();
>>
>> session_register("stdate");
>> session_register("etdate");
>> session_register("ccode");
>>
>> ?>
>
> You don't need the session_register function calls. Take another read
> of the manual page, http://us.php.net/session_register, there is a
> warning not to mix session_register and $_SESSION -- eliminating the
> session_register calls should fix your problem.
>
> Also note that if register_globals is turned off, this method does not
> work properly. Since register_globals is off by default as of PHP 4.2,
> and will not exist in PHP 6 -- I suggest that you start working
> towards not relying on register_globals settings.
>
> Brady
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



More information about the thelist mailing list