passing variables in PHP3

From: "sheila bel" <sheilabel(at)hotmail(dot)com>
To: pgsql-general(at)postgreSQL(dot)org
Subject: passing variables in PHP3
Date: 2000-02-27 20:21:18
Message-ID: 20000227202118.95101.qmail@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I've written an application for the web that asks users for their
id and password, checks the database and if they are legit
takes them to a page. Now I'm using the PHP_AUTH_USER variable
to identify the user and I need that information from one
file to another. How do I do that ? I tried storing it in a
variable and sending it along an with html anchor but that is
not a neat way of doing it since every time I need the value of
that variable the user has to click on an image and another problem
with that is the user id will show up in the url and I don't want
that security risk.
So my question is how do I store the value of PHP_AUTH_USER for
a specific user and access it from many PHP3 files ?

I know most of you are PostgreSQL specialists but I was hoping
someone is familiar with this since its holding me up.
Thank you for any replies.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Rousse 2000-02-27 23:03:59 Just to be sure...
Previous Message Marten Feldtmann 2000-02-26 10:38:33 Re: [GENERAL] Re: [General] pgsql on win95