You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 516 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Code to allow quotes " " [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
arias51
Nuke Cadet
Nuke Cadet


Joined: Feb 18, 2006
Posts: 5


PostPosted: Fri Aug 14, 2009 4:29 am Reply with quoteBack to top

I have two modules that do not allow posting of Double or Single quotes " ' (possibly other characters as well). I fixed this on another module a loooonnnnngggg time ago, but can't remember what the code is anymore.

Can someone help?

Thanks
Find all posts by arias51View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Fri Aug 14, 2009 3:35 pm Reply with quoteBack to top

Use addslashes or the database-specific - mysql_real_escape_string

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
arias51
Nuke Cadet
Nuke Cadet


Joined: Feb 18, 2006
Posts: 5


PostPosted: Mon Aug 17, 2009 9:55 am Reply with quoteBack to top

Is keeping magic quotes on considered a security flaw? I noticed it was shut off on my server.
Find all posts by arias51View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Tue Aug 18, 2009 5:25 pm Reply with quoteBack to top

magic_quotes was a safeguard for older scripts. It is not recommend anymore and is being deprecated. I don't know of any active exploits against patched systems. I would only recommend it on if you are running very old code.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
arias51
Nuke Cadet
Nuke Cadet


Joined: Feb 18, 2006
Posts: 5


PostPosted: Wed Aug 19, 2009 10:51 am Reply with quoteBack to top

Thanks for the info. Wink
Find all posts by arias51View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.075 Seconds - 335 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::