Solved

Server makes from all ' chars /' what can i do to prevent/change that

Posted on 2011-03-09
7
299 Views
Last Modified: 2012-05-11
Our webserver changes all ' characters to '/ . How can i change this? Is this a php configuration setting?

0
Comment
Question by:d_rijken
[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
  • 4
  • 3
7 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 35080384
Hi d_rijken,

That's the server rewriting things to prevent an injection attack of some sort.  Where exactly is it happening?
0
 

Author Comment

by:d_rijken
ID: 35080429
Hi Jason,

It's happening with every content. Even when we put it a wysiwyg editor. Also file uploads etc etc. But is it a server config setting?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 35080460
But how is the content getting to the server?  Form posts?  FTP?
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 35080461
If it's happening with form posts, then it most likely is the magic_quotes_gpc directive in the php.ini file.
0
 

Author Comment

by:d_rijken
ID: 35080469
Post to a db with a mysql escape string...
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 35080484
0
 

Author Closing Comment

by:d_rijken
ID: 35106276
It was the php magic quotes setting.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
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…
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 a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

738 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