PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
evaria
New Member
New Member


Joined: Mar 07, 2005
Posts: 10

PostPosted: Sat Oct 28, 2006 6:32 pm Reply with quote Back to top

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:
<img src="\\\ddwd/tarponflats.jpg\\\" width="\\\300\\\" height="\\\400\\\" align="\\\right\\\">


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.

Please help before I lose what little of my mind I have remaining.

Thank you in advance
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sat Oct 28, 2006 11:52 pm Reply with quote Back to top

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)
View user's profile Send private message Visit poster's website
evaria
New Member
New Member


Joined: Mar 07, 2005
Posts: 10

PostPosted: Sun Oct 29, 2006 8:07 am Reply with quote Back to top

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.
View user's profile Send private message
evaria
New Member
New Member


Joined: Mar 07, 2005
Posts: 10

PostPosted: Sun Oct 29, 2006 8:26 am Reply with quote Back to top

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.
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Oct 29, 2006 10:20 pm Reply with quote Back to top

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
View user's profile Send private message Visit poster's website
brewski
New Member
New Member


Joined: Jan 20, 2007
Posts: 3

PostPosted: Tue Jan 30, 2007 7:47 am Reply with quote Back to top

Started my own similar, but maybe slightly different thread.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum