You could give them a session ID, and then keep foo completely on the
server.
http://php.net/session_start

If you just want it "invisible" to most users but not really *SECRET*, a
simple POST form works.  They can still see it if they do "View Source" in
the browser.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Seb Frost <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 19, 2001 4:44 PM
Subject: Passing variables to a file


> OK I know this can be done like so:
>
> file.php4?foo=bar
>
> but what if I want to keep the value of foo secret from the user?
>
> - seb


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to