Sure you can!

consider this simple example:
<a href="javascript:setvars('var1value', 'var2value')">click here to go to
next page</a>

<script language="JavaScript">
  function setvars(var1, var2)
    df = document.dataform;
    df.var1.value = var1;
    df.var2.value = var2;
<form name="dataform" action="page2.php" method="post">
<input type='hidden' name='var1'>
<input type='hidden' name='var2'>

it's using hidden forms...
you can also use sessions...

<[EMAIL PROTECTED]> wrote in message
> Hello,
> Is it possible to transfer certain variables to a new scripts, but not
> this as uri-parameters (../bla.php?var1=var&var2=var#)
> I need it for Usernames and passwords and when the pages get cached the
> usernames and pwd's can be viewed in the Temp-inetfiles-folder in
> Thanks,
> Bart

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to