Richard,
Thank you for replying.
If you can't change php.ini, and if it's Apache, you maybe can just
turn it off in .htaccess, far faster and easier than a PHP function.
I looked on the web and found this line:
php_flag magic_quotes_gpc off
... and added it to my .htaccess file. But it doesn't seem to make a
difference.
I've set my scripts up so people can embed Google Maps on their pages.
The problem I'm seeing now is that the output for the Google Map has all
these additional double quotes that I don't know where they are coming
from. Maybe it's not a magic quote issue?
It looks like this:
<iframe width=\"360\" height=\"360\" frameborder=\"0\" scrolling=\"no\"
marginheight=\"0\" marginwidth=\"0\"... (trimmed for brevity)
You are calling the removeSlashes, right?
I believe I'm calling it everywhere there is some text being inputted or
outputted.
And, really, there is no reason for the restoreSlashes function to
exist. If you ever think you need it, you're wrong.
I guess that makes sense.
--
Dave M G
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php