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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
17 matches
Mail list logo