Thread: backslashes

    #1
  1. No Profile Picture
    PHP Programmer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    31
    Rep Power
    15
    Hi,

    I have a little problem with backslashes. I had a page on one apache server. Then I moved it to another, and suddenly all atricles in my mysql database have backslashes before every special character, like "'&%¤#.
    What is the problem here; Apache, php or MySQL? And what can i do to make it work properly again?

    Thanks in advance!

    [This message has been edited by ikaros (edited June 22, 2000).]
  2. #2
  3. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    62
    Most likely, on the new server, PHP is configured with magic quotes = off. Look in your php.ini file (or php3.ini, if you are using PHP3)

IMN logo majestic logo threadwatch logo seochat tools logo