Re: [Bug 978107] Re: not parsing form data as multidimensional variables into $_POST

2012-04-20 Thread GodsMadClown
Yeah, I updated my test VM a few days ago and it's fixed.  Go ahead and 
close it.

On 4/20/2012 8:07 PM, Clint Byrum wrote:
> I could not reproduce this on the latest 12.04 with PHP 5.3.10-1ubuntu3
> using a basic libapache2-mod-php5 setup.
>
> _POST comes out as
>
> Array
> (
>  [text1] =>  Array
>  (
>  [fname] =>  a
>  [lname] =>  b
>  [text3] =>  Array
>  (
>  [text] =>  c
>  )
>
>  [text4] =>  Array
>  (
>  [text] =>  d
>  )
>
>  )
>
>  [submit1] =>  submit
> )
>
> Given this script (combines the HTML with the result so you can keep
> trying values):
>
> 
> 
> 
> $inputdata = file_get_contents( 'php://input' );
> print_r($inputdata);
> echo '';
> print_r($_POST);
> echo '';
>
> $test_array = array ( 'test1' =>  array( 'test11' =>  'test','test12' =>  
> 'test','test13' =>  array( 'test131' =>  'test') ) );
> echo '';
> var_export($test_array);
> echo '';
> ?>
> 
>
> First Name:
> 
> Last name:
> 
>
> text3:
> 
> text4:
> 
>
> 
> 
>
> 
>
> 
> 
>
> ** Changed in: php5 (Ubuntu)
> Importance: Undecided =>  Medium
>

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/978107

Title:
  not parsing form data as multidimensional variables into $_POST

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/978107/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 978107] Re: not parsing form data as multidimensional variables into $_POST

2012-04-11 Thread GodsMadClown
** No longer affects: php53 (Suse)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/978107

Title:
  not parsing form data as multidimensional variables into $_POST

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/978107/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 978107] Re: not parsing form data as multidimensional variables into $_POST

2012-04-11 Thread GodsMadClown
** Also affects: php53 (Suse)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/978107

Title:
  not parsing form data as multidimensional variables into $_POST

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/978107/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 978107] [NEW] not parsing form data as multidimensional variables into $_POST

2012-04-10 Thread GodsMadClown
Public bug reported:

I'm having trouble with form data getting into multidimensional data
structures on the latest 12.4 beta. I also observe the same behavior on
Suse Linux Enterprise, but not on CentOS. What am I missing?

I can define one explicitly, demonstrated with $test_array in the code
examples below, however I can't get the post data to populate a similar
structure.

The following basic form works as expected, with the input text data
getting put into the variables text1 ... text4 in the $_POST array.

 array( 'test11' => 'test','test12' =>
'test','test13' =>  array( 'test131' => 'test') ) );

print_r($test_array);
?>





First Name: 

Last name: 


text3: 

text4: 










but this doens't seem to work properly. After I submit a filled form,
the first piece of form data gets populated into the $_POST araray, but
all the other ones are always missing. I know the data is getting
submitted, because the variable $inputdata gets populated in the example
below. Why isn't that input getting parsed into $_POST?

 array( 'test11' => 'test','test12' =>
'test','test13' =>  array( 'test131' => 'test') ) );

print_r($test_array);
?>





First Name: 

Last name: 


text3: 

text4: 










** Affects: php5 (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/978107

Title:
  not parsing form data as multidimensional variables into $_POST

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/978107/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs