new host inserting "\"'s everywhere - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: new host inserting "\"'s everywhere (/showthread.php?tid=62837) new host inserting "\"'s everywhere by stoshrocket on 07-08-2006 at 07:13 PM
ive just paid for some new hosting and a domain with invisional hosting and all of a sudden there are aload of "\"s everywhere... meaning alot of the code is messed up.... RE: new host inserting "\"'s everywhere by Ezra on 07-08-2006 at 08:11 PM
I think it's "magic_quotes_gpc". RE: new host inserting "\"'s everywhere by Mike on 07-08-2006 at 09:08 PM
I think that this is done to prevent sql injections.. RE: new host inserting "\"'s everywhere by hmaster on 07-08-2006 at 09:10 PM
str_replace() before they're outputted, thats what I do. RE: new host inserting "\"'s everywhere by absorbation on 07-08-2006 at 09:12 PM
quote: addslahes you mean, well you could try mysql excape string, which it slighly more sercure. But it is good your host is doing this, sql injection is a major sercuity hole hackers will look at . RE: new host inserting "\"'s everywhere by Ezra on 07-08-2006 at 09:55 PM Just use stripslashes on all the sql outputted strings to remove the slashes RE: new host inserting "\"'s everywhere by stoshrocket on 07-09-2006 at 04:39 PM ok, awesome, thanks for the help |