Despite what it says (and as far as I know) you *can't* change the state of
magic quotes from within a script. You can, however use a function like
this:

function myAddSlashes($st) {
  if (get_magic_quotes_gpc()==1) {
    return $st;
    } else {
       return AddSlashes($st);
    }
}

Hope this helps,

Aral :)
______________________________
([EMAIL PROTECTED])
    New Media Producer, Kismia, Inc.
([EMAIL PROTECTED])
    Adj. Prof., American University
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to