« Previous Next »

Thread: array form in $_POST doesn't work. PHP on IIS

Last post 03-25-2008 8:18 PM by Majkel. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 03-25-2008, 4:25 PM

    • Majkel
    • Not Ranked
    • Joined on 03-25-2008, 4:08 PM
    • Posts 2

    array form in $_POST doesn't work. PHP on IIS

    Hi My company do some transfer of files form Apache to IIS 6.0 and I have problem with forms and $_POST variables. Scripts are written in PHP languge. On Apache all scripts work fine but on IIS forms that has arrays are not properly recognized. We have a form with following input fields:
    Ex:
    ...
    input type=text value=""  name=skill[0]
    input type=text value=""  name=skill[1]
    input type=text value=""  name=skill[2]
    input type=text value=""  name=from_years
    ...
    
    (I remove brackets of html tags, because they are not visible on this page. Maybe there are some magical tags that I don't know :P) After submiting a form in $_POST array on Apache everything is ok.Below
    $_POST array
    
    Array
    (
        [skill] => Array
            (
                [0] => 2
                [1] => 2
                [2] => 
            )
    ...
        [from_years] => 2008
        [from_months] => 03
        [from_days] => 25
    ...
    
    but on IIS there is no array elements. Only information [skill] => Array $_POST array
    Array
    (
        [skill] => Array
      
    ...
        [from_years] => 2008
        [from_months] => 03
        [from_days] => 25
    ...
    
    Does anyone know the solution? Is it configuration issue?
  • 03-25-2008, 8:18 PM In reply to

    • Majkel
    • Not Ranked
    • Joined on 03-25-2008, 4:08 PM
    • Posts 2

    Re: array form in $_POST doesn't work. PHP on IIS

    ok problem is solved. It was our internal problem with other script
Page 1 of 1 (2 items)
Microsoft Communities