Solved

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

Posted on 2011-03-09
7
295 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
  • 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is 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…
The viewer will learn how to count occurrences of each item in an array.
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…

895 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

13 Experts available now in Live!

Get 1:1 Help Now