php madness…

if, like me, you were starting to get into php and enjoying the huge flexibility and spare yet very powerful new coding ability it brings, get ready:

Warning : In PHP 4.2.0 and later, the default value for the PHP directive register_globals is off. This is a major change in PHP. Having register_globals off affects the set of predefined variables available in the global scope.

for many this won’t be an issue but if you or your server admin decide to leave it off for security reasons, then there’s a whole new set of functions to learn, and where and how to use them properly is something that is evading me, despite my long time searching the sourcebook, the mother-lode, of all things php. julie meloni’s awesome little book on php was so helpful, but now i’m flummoxed, trying to figure out where to go to adapt all that code to the new rules. if there’s a php-head in portland or sf who i can take out for a beer, i’d so appreciate exchanging that for a quick phone, in person, or IM tutorial.

Leave a Comment