Solved

Joomla magic quotes

Posted on 2013-01-21
4
411 Views
Last Modified: 2013-01-21
My server has magic quotes turned on, and in my articles all quotes are being preceed with a \ every time i save so  now I have  multiple slashes in front of any quotes.

How should a php.ini file look and where should it be placed to prevent magic quotes from being applied when article and custom html module content is being edited?

I've tried suggestions found in google but don't seem to work.
0
Comment
Question by:tf2012
  • 3
4 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 38801102
Who controls the server? This should be turned off immediately by the owner of the server!

Here is the man page link:
http://php.net/manual/en/security.magicquotes.disabling.php

And here is a fuller explanation of what happened and why, historically speaking.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_6630-Magic-Quotes-a-bad-idea-from-day-one.html
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 38801104
Also, this note seems particularly apt:
http://php.net/manual/en/security.magicquotes.disabling.php#82777

HTH, ~Ray
0
 
LVL 1

Author Closing Comment

by:tf2012
ID: 38801277
I just sent an email to my client asking for the server admin to turn it off.

thanks!
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 38801350
Thanks for the points -- I think that's the best way to go.  Best of luck with it, ~Ray
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Customizing themes 14 47
php variable basic question 12 29
PHP JSON Clean up 5 6
php ssh2_scp_send 1 0
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now