php automatically escaping single quotes


Posted on 16th Feb 2014 07:03 pm by admin

I'm trying to test out my security a bit and I've noticed that php is escaping my single quotes. For instance I enter x' OR 1=1-- in a form and the output it gives me is x' OR 1=1--.

Is there a setting in php or apache that automatically escapes single quotes?

No comments posted yet

Your Answer:

Login to answer
195 Like 27 Dislike
Previous forums Next forums
Other forums

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

need help in update query
hi
i have a dynamic form. i need help in how can i use update query when values from dynamic for

How could I combine these arrays??
Hello.. I'm trying to figure out a way to combine these first two arrays to get the last array..

search function
HI guys,

if anyone could point us in the right direction of how to do this, or provide some t

Creation of Raw Exposure manually
SAP Gurus

I am creating Raw Exposure ( Hedge management ) thru T Code TEM10 with followin

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

How to add an image/C++ OpenGL?
Hi,

I have been trying to look online for this and, so far, I haven't found anything usef

Unexpected T_Variable ?
Hi all,
I dont really know what I am doing!! I know I'm doing something wrong, and I know its on

breaking a text file into paragraphs based on strings
I have a text file of email addresses that is all squished together. It looks like this:

abc

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash