Hi
I have a CMS tool written in PHP, on the devs server its fine, but on mine it causes problems if you add a word into the CMS tool that has an apostraphe. From Googling this seem fairly common but I still don't know how to fix it.
I also have mod_security installed which may also not help as it might think a SQL inj attack is going on or something (just an idea)
I have tried a few Magic Quotes options (maybe the wrong ones) but I'm a bit of a noob at LAMP servers.
If I turn magic quotes on other bits screw up as extra "/" forward slashes appear in places.
Where do I start to look at fixing this? I see magic quotes is on its way out anyway.
Cheers!
I have a CMS tool written in PHP, on the devs server its fine, but on mine it causes problems if you add a word into the CMS tool that has an apostraphe. From Googling this seem fairly common but I still don't know how to fix it.
I also have mod_security installed which may also not help as it might think a SQL inj attack is going on or something (just an idea)
I have tried a few Magic Quotes options (maybe the wrong ones) but I'm a bit of a noob at LAMP servers.
If I turn magic quotes on other bits screw up as extra "/" forward slashes appear in places.
Where do I start to look at fixing this? I see magic quotes is on its way out anyway.
Cheers!