input form with same name

input form with same name

am 01.02.2008 11:02:57 von markux

Hi,

I have a problem with a form that it has of the input with the same
name: I cannot modify code HTML inserting [ ], in the variable $_POST
is always a single value, like I can recover also the others?

I cannot use stream_get_meta_data.

thanks

Re: input form with same name

am 01.02.2008 13:17:10 von colin.mckinnon

On 1 Feb, 10:02, markux wrote:
> Hi,
>
> I have a problem with a form that it has of the input with the same
> name: I cannot modify code HTML inserting [ ], in the variable $_POST
> is always a single value, like I can recover also the others?
>
> I cannot use stream_get_meta_data.
>
> thanks

You should really fix the problem at source.

Since (I'm guessing?) it seems to be POST, you can't manually parse
the URI.

Have you tried apache_request_headers()?

C.

Re: input form with same name

am 01.02.2008 15:28:37 von luiheidsgoeroe

On Fri, 01 Feb 2008 11:02:57 +0100, markux wro=
te:

> Hi,
>
> I have a problem with a form that it has of the input with the same
> name: I cannot modify code HTML inserting [ ], in the variable $_POST
> is always a single value, like I can recover also the others?
>
> I cannot use stream_get_meta_data.

$rawinput =3D file_get_contents('php://input');

.... and then some custome code, parse_str() doesn't do the trick, perhap=
s =

the 'proper_parse_str' function someone contributed as user comment to =

http://nl2.php.net/manual/en/function.parse-str.php

-- =

Rik Wasmus

Re: input form with same name

am 01.02.2008 18:16:05 von markux

many many many thnaks, it work fine!!!

Rik Wasmus ha scritto:

> On Fri, 01 Feb 2008 11:02:57 +0100, markux wrote:
>
> > Hi,
> >
> > I have a problem with a form that it has of the input with the same
> > name: I cannot modify code HTML inserting [ ], in the variable $_POST
> > is always a single value, like I can recover also the others?
> >
> > I cannot use stream_get_meta_data.
>
> $rawinput = file_get_contents('php://input');
>
> ... and then some custome code, parse_str() doesn't do the trick, perhaps
> the 'proper_parse_str' function someone contributed as user comment to
> http://nl2.php.net/manual/en/function.parse-str.php
>
> --
> Rik Wasmus