Caution for PHP 4.2.3
As documented in my journal I just discovered a huge bug in PHP 4.2.3
If you accept input through POST (from a form), and the variables are array elements ($account[1], $account[2], etc.), the first four characters will be stripped off the string when it is 5 or more characters long.
If you're upgrading your PHP, be warned that 4.2.3 is still the default latest version listed as a download link on php.net - if any of your scripts used POSTed array elements, download 4.2.4-dev instead, available from the daily snapshot site http://snaps.php.net/
Sign me... someone who wasted several hours.
If you accept input through POST (from a form), and the variables are array elements ($account[1], $account[2], etc.), the first four characters will be stripped off the string when it is 5 or more characters long.
If you're upgrading your PHP, be warned that 4.2.3 is still the default latest version listed as a download link on php.net - if any of your scripts used POSTed array elements, download 4.2.4-dev instead, available from the daily snapshot site http://snaps.php.net/
Sign me... someone who wasted several hours.
