Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

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


pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group