Re: submitting a form
| From: | bryan brown | Date: | Thu, 12 Oct 2000 16:13:57 +0000 |
| Subject: | Re: submitting a form | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19832@lists.php.net to get a copy of this message | ||
Opps, sorry . Forgot to mention, I can't use
sessions or cookies. I know, it sucks.
--- Stefan Goethals <stefan@yournet.be> wrote:
>
> hello,
>
> If you are using php4 you can use session variables
> to hold those
> values and not have to worry about transporting them
> across pages.
>
> Call this in every page. ( include it )
>
> session_start();
> session_register("SESSION");
>
> if (! isset($SESSION)) {
> $SESSION = array();
> }
>
> then you can use your array whenever you want.
>
> $SESSION["user"] = $user;
>
> --
>
> Stefan - Zipkid - Goethals
> YourNet - Open source web design & Site
> management.
> http://www.yournet.be
> mailto:stefan@yournet.be
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-general-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/