i have small problem with apache
apache is automatic securing my varibales!
example
echo $_GET['id'];
link : http://localhost/file.php?id=sadsad'sadad'asd
it’s output sadsad\'sadad\'asd
How i can disable this thing ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are probably seeing the effects of Magic Quotes. This is a PHP feature, not an Apache feature. And you should disable it immediately, because it’s stupid.
To disable, follow the link above, and you’ll end up on the Disabling Magic Quotes page. As it says there, you’ll need to edit your php.ini file, thus: