Re: Javascript and PHP

From: Date: Wed, 14 Mar 2001 19:55:10 +0000
Subject: Re: Javascript and PHP
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-7479@lists.php.net to get a copy of this message
Well, No and Yes. If the form is posted, whichever page that it was posted too will have $HTTP_POST_VARS["text1"] set to whatever was in the textbox. $text1 may also be a global variable, depending on your php.ini settings for register_globals and also variable_order. It took me a while to feel comfortable with the web client/server conversation. PHP has no way of chatting with a client after a page has been sent. During the page request process, if a post was submitted from the client variables will be sent via $HTTP_GET_VARS, $HTTP_PUT_VARS and/or $HTTP_POST_VARS depending on how the form is configured. "vivekmisra" <vivekmisra@bigfoot.com> wrote in message news:200103150508.AAA18084@giasdl01.vsnl.net.in... > Morning !!! experts > > Sorry its lil bit off list question but u r the experts ....remember !!!!! > > Is there nething in php similar to javascript's following code ??>>: > > document.form1.text1.value =>> ? > > so that i can fetch the value of any textbox into php variable [$var] > > thx in advance. > > Vivek > -------------------------------------------------------------------------- -------------- > -D-AND GATE -|>O--Complement ? > -------------------------------------------------------------------------- -------------- > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#7479) next »