From: Alex B. <en...@tu...> - 2001-06-19 22:24:46
|
> Alex: > > Are you pulling our leg? We notice that since PHP cannot use > dots in variables that PHP converts all POST/GET var names, > replacing the dot with an underscore. > > In your demo of Hello World, you use a dot in a GET variable > to switch the layout (.tmpl). This, of course, gets converted > to _tmpl, which you are testing for the switching. > > Why do you do this? Is there some higher meaning? Are you > just chuckling to yourself because you finally got someone > to bite on this little insignificant thingy? heheh, no. It is "stylistically" significant, all url "messaging" to core will contain .foo -> _foo It's nice because you have a way of differentiating between those vars and other just by the name. We'll have to get those thorough Request soon, but for the moment they're global. > I feel like I am writing Dear Abby. hehe, oh shit I hope I don't start receiving letters about "what should I do about my girlfriend? what should I do about my girlfriend?" heh, _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |