Solved

Joomla magic quotes

Posted on 2013-01-21
4
419 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 110

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 110

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 110

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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

617 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