Posted by sandy on 11/15/41 11:27
> You're writing your code assuming that register_globals is on - not a good
> idea, particularly when you're learning.
Thanks. I hadn't even noticed that (that I was using a global variable).
I'm doing this on a shared host box. I asked them to turn off
REGISTER_GLOBALS, and they did.
$_SESSION['whatever'] works just fine.
It never occured to me I could serialize a class instance, at a
moment in time, as if it were a function derivative.
I always parse the data structure and then punch values into the
database, or versa visa from the database to the class instance.
Thank you.
--
/* Sandy Pittendrigh >--oO0>
** http://montana-riverboats.com
*/
[Back to original message]
|