Re: Passing variables to a file
| From: | Richard Lynch | Date: | Tue, 21 Aug 2001 22:48:03 +0000 |
| Subject: | Re: Passing variables to a file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63808@lists.php.net to get a copy of this message | ||
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 richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
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 <seb@raceshoot.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
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