i'm still confused...
when you say magic_quotes gets applied at runtime, i'm assuming this means BEFORE my script executes. in other words of myscript.php gets some variables POSTed to it, they are going to have magic quotes applied before myscript.php ever gets a chance to work with them....so this is stupid and useless:
/* myscript.php /*
ini_set("magic_quotes", 0);
// now i start running all kinds of database queries on my POST
// variables and maybe even doing some EVAL stuff
// which would be very unsafe if there were no magic quotes blah
// blah blah
that's the essence of my question....are magic_quotes applied to anything besides your POST and GET variables? like session variables and stuff? the only things i can think of are things that pass variables BETWEEN php scripts...which means that trying to set magic_quotes to anything is completely useless because it's all applied before your script runs and the setting is only valid as long as your current script is running.
know what i mean?