Directive ‘magic_quotes_gpc’ is deprecated in PHP 5.3 and greater
in laravel
I don’t have access to php.ini file at the server so i can’t turn magic_quotes off, i have already tried .htaccess method it didn’t work.
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 should ask your hosting provider to turn off magic quotes.
If you can’t do that, you can use this code to remove magic quotes your self:
Just put this code somewhere at bootstrap level, or you should put this as first code in your scripts.
I had similar situation where I had PHP 5.3 and magic quotes turned on.
Hope this helps!