|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2007-09-15 19:28 UTC] scottmac@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 03:00:01 2025 UTC | 
Description: ------------ If form field name contains any dot(.) PHP automatically Stores it into $_POST variable after converting all dots to _ Reproduce code: --------------- <?php if(count($_POST) > 0){ print_r($_POST); } ?> <form method="POST" action=""> <input type="text" name="a.b" value="Sample" /> <input type="Submit" name="submit" value="Submit"> </form> Expected result: ---------------- Array ( [a.b] => Sample [submit] => Submit ) Actual result: -------------- Array ( [a_b] => Sample [submit] => Submit )