You could actually have javascript auto-submit the form if you didn't want the button like:
<script language="javascript"> document.form1.submit(); </script> Adam Voigt [EMAIL PROTECTED] On Tue, 2 Apr 2002 09:08:18 -0600, Tyler Longren <[EMAIL PROTECTED]> wrote: > 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 > [EMAIL PROTECTED] > www.captainjack.com > > ----- Original Message ----- > From: "Daniel Alsén" <[EMAIL 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, 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 # > > # [EMAIL PROTECTED] | +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 > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php