Re: Re: Magic Quotes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I've got all three Magic Quote directives turned off...
> When I use sql query to grab any string from a database, it still
> spits out
> the \ in front of the special characters..
> Any ideas?
> thanks
> ######END ORIGINAL####
> If data stored in database has escape character '\' then use
> stripslashes()

One other possible scenario:

You *think* you've turned off all those Magic Quote things, but you
are using PHP as a Module, and forgot to re-start Apache, so you
really didn't turn them off.

Confirm 100% sure with <?php phpinfo();?> that Magic Quotes really
really are OFF.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux