[PHP] GET method and forms....
how do I prevent getting submit=shop%21 in the url window? form method=GET action=page.php4 pEmail address: input type=text name=email size=20 input type=submit value=Shop! name=submit /form - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] GET method and forms....
instead of method=GET use method=POST --- Seb Frost [EMAIL PROTECTED] wrote: how do I prevent getting submit=shop%21 in the url window? form method=GET action=page.php4 pEmail address: input type=text name=email size=20 input type=submit value=Shop! name=submit /form - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] = Mehmet Erisen http://www.erisen.com __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] GET method and forms....
But I have good reason to use get, I want all the other variables to become part of the url. - seb -Original Message- From: ERISEN, Mehmet Kamil [mailto:[EMAIL PROTECTED]] Sent: 23 August 2001 03:10 To: Seb Frost; [EMAIL PROTECTED] Subject: Re: [PHP] GET method and forms instead of method=GET use method=POST --- Seb Frost [EMAIL PROTECTED] wrote: how do I prevent getting submit=shop%21 in the url window? form method=GET action=page.php4 pEmail address: input type=text name=email size=20 input type=submit value=Shop! name=submit /form - seb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] = Mehmet Erisen http://www.erisen.com __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] GET method and forms....
On Thu, 23 Aug 2001 03:23:16 +0100, Seb Frost [EMAIL PROTECTED] wrote: how do I prevent getting submit=shop%21 in the url window? reason to use get, I want variables to become part of the url. Using a frameset prevents the GET url from appearing in the browser window, if that's all you want to achieve -- and you don't need lynx compatibility. Here's a dummy frameset that should get you started. Just put it in a file by itself, perhaps named myscript.html Also notice the second frame uses myscript.php as its source: HTMLHEADTITLE/TITLE/HEAD FRAMESET COLS=0,* BORDER=0 FRAMEBORDER=no FRAME NAME=fm0 MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=no NORESIZE=NORESIZE FRAME NAME=fm1 MARGINHEIGHT=0 MARGINWIDTH=0 SCROLLING=yes SRC=myscript.php NOFRAMESBODY PThis document requires frames./P/BODY /NOFRAMES /FRAMESET/HTML -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]