Hi.. in the settings, session.use_cookies is turned ON but session.trans_sid is turned OFF. do i need to enable this as well? by doing this can i disable the register_globals? - suamya > Hi > Me again > Check on Your setting -> ; Whether to use cookies. > session.use_cookies = 1 > session variable is saved here if the user have cookies turned off it will > still work if your have trans-sid turn on. > BTW you don't have to use a dropdown radio buttons or tick box will work > as > well > Johan > ""Suamya Srivastava"" <suamya.srivastava@xxxxxxxxxxxxx> wrote in message > news:48607.192.168.1.67.1187950519.squirrel@xxxxxxxxxxxxxxxxxxxxx >> Thank you all for the help. >> I did not want to use dropdown box..that was the very reason i was >> wondering if I can pass the variables through a hyperlink. I used $_GET >> and it worked fine. However, as mentioned in the posts its not advisable >> to use $_REQUEST. Could you please elaborate on the reason? >> This brings me to another question.... >> I have registered a variable as a session variable so that I can use it >> on >> any page during that session. HOwever, this was not working when I first >> tried it. I read somewhere that I need to enable register_globals. On >> doing so, it worked and I could access my session variable on any other >> page. Is this wrong? Is there an alternative? Please suggest. >> >> - suamya >> >> > On 8/24/07, Goltsios Theodore <tgol@xxxxxxxxxx> wrote: >> >> the posted or got option buy using the $_REQUEST array ($_GET and > $_POST >> >> are >> >> included in that like a less lame solution). Let's say you have a >> > >> > Please do not encourage the use of $_REQUEST. >> > >> > You might as well just tell people to enable register_globals again. >> > >> > Use $_GET, $_POST, $_SESSION, $_COOKIE, $_SERVER, etc. for the >> > appropriate source of data. $_REQUEST is laziness and introduces most >> > of the same issues that was the reasoning behind disabling >> > register_globals to begin with. >> > >> > (As for dropdowns, that's just an in-browser method of collecting data >> > and sending the key/value pairs in POST or GET... IMHO the HTML >> > portion should already be known before someone steps into the realm of >> > PHP and server-side programming) >> > >> > - mike >> > >> > -- >> > PHP Database Mailing List (http://www.php.net/) >> > To unsubscribe, visit: http://www.php.net/unsub.php >> > >> > >> > -- >> > This message has been scanned for viruses and >> > dangerous content by MailScanner, and is >> > believed to be clean. >> > >> > >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php