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, is

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.phpkind=regions I have a form with method=post and action=?PHP $_SERVER['PHP_SELF']; ?. While it works fine this way, as soon as I change the form to method=get it looses the parameter kind

[PHP] GET doesn't work as POST

2007-02-24 Thread Otto Wyss
On the page http://www.orpatec.ch/turniere/5erfussball/index.php?page=bvallist.phpkind=regions I have a form with method=post and action=?PHP $_SERVER['PHP_SELF']; ?. 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.

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

2007-02-24 Thread Peter Lauri
24, 2007 12:51 PM To: php-general@lists.php.net Subject: [PHP] GET doesn't work as POST On the page http://www.orpatec.ch/turniere/5erfussball/index.php?page=bvallist.phpkind= regions I have a form with method=post and action=?PHP $_SERVER['PHP_SELF']; ?. While it works fine this way, as soon

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

2007-02-24 Thread Otto Wyss
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 24, 2007 12:51 PM To: php-general@lists.php.net Subject: [PHP] GET doesn't work as POST On the page

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

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, visit:

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

2007-02-24 Thread Dave Goodchild
Subject: [PHP] GET doesn't work as POST On the page http://www.orpatec.ch/turniere/5erfussball/index.php?page=bvallist.phpkind= regions I have a form with method=post and action=?PHP $_SERVER['PHP_SELF']; ?. While it works fine this way, as soon as I change the form to method=get

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 Mailing

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:

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 Pintér Tibor
Otto Wyss írta: Dotan Cohen wrote: Try $_GET[kind] Tried, doesn't help. O. Wyss echo XMP; print_r($_REQUEST); echo /XMP; 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 Dotan Cohen
On 24/02/07, Pintér Tibor [EMAIL PROTECTED] wrote: echo XMP; print_r($_REQUEST); echo /XMP; and think... t Maybe you meant: ?php echo pre; print_r($_REQUEST); echo /pre; ? Dotan Cohen http://lyricslist.com/lyrics/lyrics/137/12/aaliyah/age_ain_t_nothing_but_a_number.html

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

2007-02-24 Thread Otto Wyss
Pintér Tibor wrote: echo XMP; print_r($_REQUEST); echo /XMP; 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] =

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 XMP; print_r($_REQUEST); echo /XMP; and think... After reload Array ( [page] = bvallist.php [kind] = regions ... ) After change in form with method=get Array ( [state] = validated ... ) After

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] Dotan Cohen

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): form name=find action= method=post style=background-color:#EE fieldset legendRegionen suchen mit .../legend