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

Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

Email "$"
Hello!!

Any PHP guy with a bit of a knowledge in Flash ?

When I send a JPEG from flash

Displaying image pathname instead of image
Hello

Im trying to upload and then display images from a mysql database - Its only basic and

split string
Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Now, i would

Do not allow posting of whitespace
Currently the script below works if the user does not type a name/message, but if i create a whitesp

Create comparison matrix?
I want to create a comparison script for forum software and was wondering is there any tutorial or b

Sending a hyperlink through mail
HI all,
I am sending a mail to outlook mailbox of a user using FM SO_NEW_DOCUMENT_ATT_S

problems with search form numerical "between" sending by php
I am trying to display the results of a search, on a sql database, on a web page. I set up html &quo

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