Hiya...

In case you can't get sessions working, you could use javascript to post a
form to the next page...  (messy I know...)

<form name="form1" method="post" action="nextPage.php">
<input type="hidden" name="variable1" value="<?=$var1?>">
</form>
<a href="" onClick="document.form1.submit(); return false">Next page</a>

I'm not too sure about cross browser compatibility though, you might want to
try in on Netscape and IE just in case.

Hope that helps...

Matt

"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> I am creating a few links on the fly that have to pass variables to the
> next page:
>
> echo '<a href="nextPage.php?variable1=$var1">next page</a>'
>
> The problem is that I don't want that information to appear in the
> address field (more like a method=post instead of a method=get).  How
> can I do that?
>
> I was trying to use sessions under W2k, php4, Apache and all my pages
> hang and never load once I start the session so I can't use sessions :-(
>
> Any ideas?
>
> Thanks,
> Ron



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to