Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Joomla magic quotes

Posted on 2013-01-21
4
Medium Priority
?
422 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 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 111

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 111

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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

670 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