Ravens PHP Scripts: Forums

Author Message

New Member

Joined: Mar 07, 2005
Posts: 10

 Posted: Sat Oct 28, 2006 6:32 pm

Hi all,

I am having a problem with7.6.0.3.2b It seems that whenever I post something in content that contains HTML it adds slashes. When you initially submit an article to the content module it's fine. However if you go back and edit it all of a sudden there will be 3 slashes like below.

 Code:

If you try and edit it a second time there will be 6.

I am sure this has been asked and answered before so I apologize if it's a duplicate post but after 3 days of looking and trying to fix it. I am at my wits end.

Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221

 Posted: Sat Oct 28, 2006 11:52 pm
 Disable magic_quotes_gpc - either you can do it through .htaccess or your host has to do it through php.ini (Some hosts may not change this setting) _________________- Only registered users can see links on this board! Get registered or login! - Need help? Only registered users can see links on this board! Get registered or login!

 Posted: Sun Oct 29, 2006 8:07 am
 Thank you evaders, problem is this, my so called host refuses to do this and I have no idea how to to it using .htaccess I tried searching it out on the web, got me nowhere.

 Posted: Sun Oct 29, 2006 8:26 am
 Nevermind evaders. I figured it out. I downloaded 7.6.0.3.3 patch. I didn't realize there even was a new patch. Uploaded the content mod and viola it's working fine. Thank you for helping though. I would still be interested in learning about turning off the magic_quotes if you don't mind.

 Posted: Sun Oct 29, 2006 10:20 pm

The new patched does some extra stripslashes to fix this problem. It really isn't the best approach.

You may consider turning off magic_quotes_gpc using .htaccess

Place this line in your .htaccess file
 Code: PHP_FLAG magic_quotes_gpc Off 

New Member

Joined: Jan 20, 2007
Posts: 3

 Posted: Tue Jan 30, 2007 7:47 am
 Started my own similar, but maybe slightly different thread.
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum