| 
 Posted by Dikkie Dik on 12/10/05 15:14 
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
 
  
Navigation:
[Reply to this message] 
 |