Have you verified this? I've never heard of it personally. Could it have something to do with "post" not being a valid value for the type attribute? Also, shouldn't the value of the name attribute just be user[] rather than user[0] or user[1]?
Edit:
It just occurred to me that if this is true it may be browser dependent since it has to do with how the form data is sent to the server. PHP wouldn't even be aware of which type of quote is used. Checking the value of each character in the string should reveal if there is a difference between the two strings:
PHP Code:
$strings = $_POST['user'];
foreach($strings as $str)
{
$arr = array();
$i = 0;
while(isset($str[$i]))
{
$arr[] = ord($str[$i]);
$i++;
}
print_r($arr);
}
Last edited by NullPointer; 08-02-2010 at 12:00 PM..
|