Re: [PHP] GET doesn't work as POST

2007-02-27 Thread Richard Lynch
On Sat, February 24, 2007 1:50 pm, Larry Garfield wrote: > Yes, you can end up with both a GET and a POST. (I'm not sure if it's > technically legal in the HTTP standard, but it can happen in practice, > IIRC.) Having GET data included with a POST request, where the GET is just part of the URL, i

Re: [PHP] GET doesn't work as POST

2007-02-26 Thread Jim Lucas
Otto Wyss wrote: On the page http://www.orpatec.ch/turniere/5erfussball/index.php?page=bvallist.php&kind=regions I have a form with method="post" and action="?>". While it works fine this way, as soon as I change the form to method="get" it looses the parameter "kind" when I change e.g. the

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Larry Garfield
What I don't understand is why you're getting kind in the first place at all. The form you're referring to, I presume, is this one (simplified HTML to avoid word wrapping in email): Regionen suchen mit ...   Verband: Fussballverband Region Zrich (FVRZ) - Alle - Gel�cht Eingetra

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Jürgen Wind
Dotan Cohen wrote: > > On 24/02/07, Otto Wyss <[EMAIL PROTECTED]> wrote: >> With method="post" just $kind works fine (register_global) yet I've also >> tried any combination of $_GET['kind'] and $_POST['kind']. With >> method="get" it doesn't work. >> >> O. Wyss > > Try $_GET["kind"] > > Dota

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Jürgen Wind
Dotan Cohen wrote: > > On 24/02/07, Pintér Tibor <[EMAIL PROTECTED]> wrote: >> echo ""; >> print_r($_REQUEST); >> echo "; >> >> and think... >> >> t >> > > Maybe you meant: > > echo ""; > print_r($_REQUEST); > echo "; > ?> > > Dotan Cohen > > http://lyricslist.com/lyrics/lyrics/137/12/aali

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Dotan Cohen
On 24/02/07, Otto Wyss <[EMAIL PROTECTED]> wrote: Pintér Tibor wrote: > echo ""; > print_r($_REQUEST); > echo "; > > and think... > After reload Array ( [page] => bvallist.php [kind] => regions ... ) After change in form with method="get" Array ( [state] => validated ... ) A

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Otto Wyss
Pintér Tibor wrote: echo ""; print_r($_REQUEST); echo "; and think... After reload Array ( [page] => bvallist.php [kind] => regions ... ) After change in form with method="get" Array ( [state] => validated ... ) After change in form with method="post" Array ( [page] => bval

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Dotan Cohen
On 24/02/07, Pintér Tibor <[EMAIL PROTECTED]> wrote: echo ""; print_r($_REQUEST); echo "; and think... t Maybe you meant: "; print_r($_REQUEST); echo "; ?> Dotan Cohen http://lyricslist.com/lyrics/lyrics/137/12/aaliyah/age_ain_t_nothing_but_a_number.html http://what-is-what.com/what_is/we

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Pintér Tibor
Otto Wyss írta: Dotan Cohen wrote: Try $_GET["kind"] Tried, doesn't help. O. Wyss echo ""; print_r($_REQUEST); echo "; and think... t -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Otto Wyss
Dotan Cohen wrote: Try $_GET["kind"] Tried, doesn't help. O. Wyss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Dotan Cohen
On 24/02/07, Dave Goodchild <[EMAIL PROTECTED]> wrote: Or just interpolate it like so: print "Hello, {$_GET['kind']}!"; Nice, I didn't know that. Dotan Cohen http://lyricslist.com/ http://what-is-what.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.p

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Dave Goodchild
On 2/24/07, Dotan Cohen <[EMAIL PROTECTED]> wrote: Also, if you're using the variable in a print string, then you'll need to exit the string, like so: $print "Hello, $kind!"; would become: $print "Hello, ".$_GET["kind"]."!"; Dotan Cohen http://easyanswers.info http://nirot.com -- PHP General

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Dave Goodchild
On 2/24/07, Otto Wyss <[EMAIL PROTECTED]> wrote: With method="post" just $kind works fine (register_global) yet I've also tried any combination of $_GET['kind'] and $_POST['kind']. With method="get" it doesn't work. O. Wyss Peter Lauri wrote: > How are you fetching the GET and POST? With $_GET

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Dotan Cohen
Also, if you're using the variable in a print string, then you'll need to exit the string, like so: $print "Hello, $kind!"; would become: $print "Hello, ".$_GET["kind"]."!"; Dotan Cohen http://easyanswers.info http://nirot.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Dotan Cohen
On 24/02/07, Otto Wyss <[EMAIL PROTECTED]> wrote: With method="post" just $kind works fine (register_global) yet I've also tried any combination of $_GET['kind'] and $_POST['kind']. With method="get" it doesn't work. O. Wyss Try $_GET["kind"] Dotan Cohen http://lyricslist.com/lyrics/artist_a

Re: [PHP] GET doesn't work as POST

2007-02-24 Thread Otto Wyss
With method="post" just $kind works fine (register_global) yet I've also tried any combination of $_GET['kind'] and $_POST['kind']. With method="get" it doesn't work. O. Wyss Peter Lauri wrote: How are you fetching the GET and POST? With $_GET and $_POST? Best regards, Peter Lauri www.dwsas

RE: [PHP] GET doesn't work as POST

2007-02-24 Thread Peter Lauri
How are you fetching the GET and POST? With $_GET and $_POST? Best regards, Peter Lauri www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -Original Message- From: Otto Wyss [mailto:[EMAIL PROTECTED] Sent: Saturday, February