[PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Daniel Alsén
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

Re: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Tyler Longren
PROTECTED] To: PHP List [EMAIL PROTECTED] 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

Re: Re: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Adam Voigt
[EMAIL PROTECTED] 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

SV: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Daniel Alsén
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. I thought about that. But i have two possible values (via two links) that could be passed and i can´t really get it together. Two

Re: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Tyler Longren
That might not be such a good idea then. Tyler - Original Message - From: Daniel Alsén [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Tuesday, April 02, 2002 9:11 AM Subject: SV: [PHP] Passing a variable invisibly via a href? You could use a form and have a hidden vield

Re: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Adrian Murphy
PROTECTED] Sent: Tuesday, April 02, 2002 4:02 PM 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

SV: SV: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Daniel Alsén
Yes, there is a way to do it without using any forms. I may be able to help you better if you could show me the relevant code -- I'm not sure if what I have in mind is really applicable to what you want to do. It´s not really advanced: session_start(); session_register('text_size'); if

Re: SV: SV: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Erik Price
On Tuesday, April 2, 2002, at 10:28 AM, Daniel Alsén wrote: I use the variable $change to set the text size in my stylesheet: if (isset($text_size)) {echo $text_size;} else {echo 10; $text_size = 10;} And i set the variable via a link: a href=? echo $PHP_SELF; ??change=inc (or