Afficher un message
Vieux 26/03/2008, 21h11   #1
kd0bvk@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Strange $_POST behavior - also inserting values as keys

I am trying to someone who has a server that seems to be gluing
array_values onto the keys of the $_POST associative array and thus
feeding extra keys which are confusing the program.

Visual example:

Expected-

key2 => firstval
key3 => secondval

Getting-

key2 => firstval
key3 => secondval
firstval =>
secondval =>

Here's hoping this can be easily stopped with a configuration
directive. Anyone know what it is?

Or is this just a buggy php install?
  Réponse avec citation
 
Page generated in 0,04411 seconds with 9 queries