ID: 14099
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: HTTP related
Operating System: Linux, Red-Hat 6.2
PHP Version: 4.0.6
New Comment:
That's intended behaviour. You can't have dots in variable names, the dot is already
used for string concatenation.
Bogus.
Previous Comments:
------------------------------------------------------------------------
[2001-11-18 12:31:16] [EMAIL PROTECTED]
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
------------------------------------------------------------------------
[2001-11-18 12:29:01] [EMAIL PROTECTED]
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
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14099&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]