View Single Post
Old 12-19-2008, 10:38 AM   #4 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

I would put it in a 'bootstrap loader' (just like your computer), a file that is executed once per execution of the script that sets up your script.

In actual fact, it doesn't really matter where you do 'set', as long as its before you call the 'get' for that specific object.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote