input form with same name

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • markux

    #1

    input form with same name

    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
  • C. (http://symcbean.blogspot.com/)

    #2
    Re: input form with same name

    On 1 Feb, 10:02, markux <marco.pata...@ gmail.comwrote:
    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.

    Comment

    • Rik Wasmus

      #3
      Re: input form with same name

      On Fri, 01 Feb 2008 11:02:57 +0100, markux <marco.patania@ gmail.comwrote:
      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_conten ts('php://input');

      .... and then some custome code, parse_str() doesn't do the trick, perhaps
      the 'proper_parse_s tr' function someone contributed as user comment to


      --
      Rik Wasmus

      Comment

      • markux

        #4
        Re: input form with same name

        many many many thnaks, it work fine!!!

        Rik Wasmus ha scritto:
        On Fri, 01 Feb 2008 11:02:57 +0100, markux <marco.patania@ gmail.comwrote:
        >
        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_conten ts('php://input');
        >
        ... and then some custome code, parse_str() doesn't do the trick, perhaps
        the 'proper_parse_s tr' function someone contributed as user comment to

        >
        --
        Rik Wasmus

        Comment

        Working...