ID: 38953 Updated by: [EMAIL PROTECTED] Reported By: thbley at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Win32 PHP Version: 4.4.4 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php PHP can't have variable names with .'s in them (from the register_globals times). And we can't "fix" it either as that would break scripts now. Previous Comments: ------------------------------------------------------------------------ [2006-09-25 17:33:44] thbley at gmail dot com Description: ------------ The name of the input field name gets modified in the $_REQUEST field. Array ( [192_168_0_4] => test ) should be: Array ( [192.168.0.4] => test ) I don't know if it's a bug, but I can't explain it any further by my knowledge. Reproduce code: --------------- <?php echo "<pre>"; print_r($_REQUEST); echo "</pre>"; echo "should be:<br>\n"; print_r(array("192.168.0.4"=>"test")); ?> <form method="get"> <input name="192.168.0.4" value="test"> </form> Expected result: ---------------- Array ( [192.168.0.4] => test ) Actual result: -------------- Array ( [192_168_0_4] => test ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38953&edit=1