Only way I know of is to have the variables in their own private form somewhere on the page, such as: (HTML tags embedded in email message here!)
<form name="otherForm" action="myScript.pl" method="POST" > <input name="var1" type="hidden" value="val1"> <input name="var2" type="hidden" value="val2"> </form> Then have the link submit the form programmatically using javascript: <a href="javascript: document.otherForm.submit();"> Click here </a> You should be aware, if you are not already, that this is not really as secure as you might think, as users can always view the page source to find out what these values are. They can even submit their own copy of the page after changing the values to whatever they want. And even if the target script checks referers to guard against this, the referer can be spoofed too. So while you may be protecting yourself against the average user who doesn't who how anything works, knowledgeable hackers can easily get around it. Just FYI. - John --- Niko Gunadi <[EMAIL PROTECTED]> wrote: > Hii, > > I want to create a link to another page and want to > pass some variables > in which i do not want the user to know. (POST > method) > > how to do that ? > > regards, > niko ===== "Now it's over, I'm dead, and I haven't done anything that I want; or, I'm still alive, and there's nothing I want to do." - They Might Be Giants, http://www.tmbg.com __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]