Posted by Jerry Stuckle on 12/10/05 16:29
Dikkie Dik wrote:
> Chung Leong wrote:
>
>> And the totally bogus reason given in the manual:
>>
>> http://fi.php.net/manual/en/language.variables.external.php#language.variables.external.dot-in-names
>>
>>
> Why is that a bogus reason? If you use the register_globals way of
> accessing the variables, there's no way to access a variable with a dot
> in it. If youy access it via a superglobal, you explicitly give the name
> as a string ($_POST['variable . rest']), but is used as a variable it
> reads:
> $variable . rest
> which is converted to
> $variable . 'rest'
> As the section after the dot is a bare string. So there is no way to
> read $_POST['variable . rest'] as a normal (auto-registered)variable.
>
> Best regards
Incorrect.
'variable . rest'
is not converted to
$variable . rest
since it is within single quotes.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|