|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-11-18 12:29 UTC] galg at sphera dot com
When i submit a form where is a dot in the name it's changes to "_".
for example:
<form action="<=$PHP_SELF>" method="post" name="aaa">
<input type="text" size="12" name="127.0.0.1" value="66.55">
<input type="submit" value="send me">
</form>
when runing in PHP:
foreach ($HTTP_POST_VARS as $key=>$val){
echo "$key = $val<BR>";
}
the output will be : 127_0_0_1 = 66.55
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 15:00:01 2025 UTC |
When i submit a form where is a dot in the name it's changes to "_". for example: <form action="<?=$PHP_SELF;?>" method="post" name="aaa"> <input type="text" size="12" name="12.13.14" value="66.66"> <input type="submit" value="send me"> </form> when runing in PHP: foreach ($HTTP_POST_VARS as $key=>$val){ echo "$key = $val<BR>"; } the output will be : 127_0_0_1 = 66.55