Re: setting php variables from the client side
| From: | steven | Date: | Tue, 09 Oct 2001 04:41:54 +0000 |
| Subject: | Re: setting php variables from the client side | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13443@lists.php.net to get a copy of this message | ||
Yes it is possible... in your form you're either using the "post" or "get"
(probably "get") as your method. Whatever it is switch it to the one you
aren't using.
if you're using post use get
and likewise if the opposite is true.
-steven
"Rs Herhuth" <ronherhuth@mindspring.com> wrote in message
news:KFEJIOCHAGPDEKLEIDIECEKGCCAA.ronherhuth@mindspring.com...
>
> I'm still struggling a bit with sessions and state.
>
> What I think I'm trying to do is use a Javascript onclick to call a
created
> function that will set session variables and then load a new page. Is it
> possible to set php variables from the client side with out passing them
in
> the "url.html?var1=value&var2=value" format?
>
> I'm also getting killed because form variables don't change session
> variables with the same name (it took many hours to figure this out!).
>
> Am I going about this the wrong way...is there an easier method?
>
> Thanks,
> Ron
>