|
Posted by SA SA on 07/12/07 22:32
On Jul 12, 5:57 pm, Good Man <he...@letsgo.com> wrote:
> Good Man <he...@letsgo.com> wrote in news:Xns996BB5FE659EAsonicyouth@
> 216.196.97.131:
>
> furthermore, if you look at the manual page for "session_register()" (which
> you are using in your code):
>
> http://ca3.php.net/manual/en/function.session-register.php
>
> There are warnings abound. Of particular importance is the following:
>
> // Use of session_register() is deprecated
> $barney = "A big purple dinosaur.";
> session_register("barney");
>
> // Use of $_SESSION is preferred, as of PHP 4.1.0
> $_SESSION["zim"] = "An invader from another planet
>
> So drop the deprecated usage, stop trying to re-invent the wheel unless you
> have a valid reason for doing so, and use sessions as they were meant to be
> used - quickly and EASILY via my previous example.
>
> Good luck.
I will attempt to make changes per your suggestion. Thanks
[Back to original message]
|