All is well with stripslashes() again.
Chris Wesley wrote:
On Wed, 8 Jan 2003, Gerard Samuel wrote:
<a href=\"http://www.apache.org/\" target=\"_blank\">stripslashes() will unescape single-quotes if magic_quotes_runtime = Off
When trying to apply stripslashes, the slashes remained. So I applied
str_replace('\"', '', $var) and that worked.
Any idea as to why stripslashes would not remove the slashes in the string?
in your php.ini. If you have magic_quotes_runtime = On, then it will also
unescape double-quotes (and backslashes and NULLs).
~Chris
-- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php