Re: Passing a variable invisibly via a href?
| From: | Tyler Longren | Date: | Tue, 02 Apr 2002 15:08:18 +0000 |
| Subject: | Re: Passing a variable invisibly via a href? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91149@lists.php.net to get a copy of this message | ||
You could use a form and have a hidden vield that contains a value. The
user would have to click the submit button for the variable/value to carry
over though.
Tyler Longren
Captain Jack Communications
tyler@captainjack.com
www.captainjack.com
----- Original Message -----
From: "Daniel Alsén" <d@mindbash.com>
To: "PHP List" <php-general@lists.php.net>
Sent: Tuesday, April 02, 2002 9:02 AM
Subject: [PHP] Passing a variable invisibly via a href?
> Hi,
>
> i need to pass a variable by letting the user click on a link. Right now i
> do it like: page.php?variable=value
>
> However, i don´t want the variable, and it´s value to appear in the adress
> bar of the browser. And i don´t want people to be able to pass the same
> variable by reloading the destination page.
>
> Any pointers on how i can do this?
>
> Regards
> # Daniel Alsén | www.mindbash.com #
> # d@mindbash.com | +46 705 38 10 30 #
> # ICQ: 63006462 | +46 8 694 82 22 #
> # PGP: http://www.mindbash.com/pgp/ #
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>