Pretty sure this is a known bug; it's been discussed on here a few times. Do a search for it.
---John Holmes... > -----Original Message----- > From: Jarrad Kabral [mailto:JarradK@;cordell.com.au] > Sent: Tuesday, October 29, 2002 6:23 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Cutting off first 4 characters using array input names?? > > Hi Group, > > I have a problem where when I use array html input names like > value[client_name] PHP cuts off the first 4 characters? > > example code: > > <input type="text" name="value[client_name]" value="12345678" /> > <input type="text" name="value[student_name]" value="12345678" /> > > On the next page there should be a variable called $value with those > values > inside it. > > This is how it comes out when I do a print_r straight after on the page > its > getting posted to. > > [value] => Array ( [client_name] => 5678 [student_name] => 5678 ) > > This used to work and return the entire string on our old server (PHP > 4.2.2) > but we just moved to a new dedicated server (PHP 4.2.3) and now it > screwed. > > Any thoughts? > > > Regards > Jarrad Kabral > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php