PHP Magic Quotes
11
This only seems appropriate, we were fighting with a similar issue this morning.
<?php
function magicSlashes($strString)
{
if (get_magic_quotes_gpc() == 1)
{
return ($strString);
}
else
{
return addslashes($strString));
}
}
?>
Comments
Voting
Votes Up
ASmith
bertheymans
ColdKeyboard
dannyboy
i_kenneth
Pio
pyman
RatNuShock
SecondV
sundaramkumar
wiz1705






You could use this snippet to do this.
-----------------------
http://jiart.org/
My digital playground with it's own sandbox.
Well anyway, I love programming