From: Jules Alberts <jules.alberts@arbodienst-limburg.nl>
To: pgsql-php@postgresql.org
Subject: Re: variable visibility when using <a href></a>
Date: Thu, 30 May 2002 09:30:37 +0200
Message-ID: <200205300733.g4U7XZFR014959@artemis.cuci.nl> (raw)
In-Reply-To: <3CF4EEEA.5040006@centennialwines.com>
On 29 May 2002 at 10:08, David C. Brown wrote:
> How about using a session?
>
> session_start()
> $password="fubar";
> session_register("password");
>
>
> then on the next page (sub.php) call session_start(); again and
> $password will become visable.
>
> see http://www.php.net/manual/en/function.session-start.php
>
> Dave
thanks Dave, i didn't know the concept of sessions. i had a google on
the subject, i guess using $_SESSION would be the safest approach. i'll
have a good look at it first before using it, the password stored will
give access to a database with privacy-sensitive data, so safety is
very important.
--
Jules Alberts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: jules.alberts@arbodienst-limburg.nl
Subject: Re: variable visibility when using <a href></a>
In-Reply-To: <200205300733.g4U7XZFR014959@artemis.cuci.nl>
References: <3CF4EEEA.5040006@centennialwines.com> <200205300733.g4U7XZFR014959@artemis.cuci.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox