I am unable to turn off magic-quotes in PHP. I am on a Mac running XAMMP. I have PHP 7.2.2.
I have the code below in my module:
print("magic quotes was on");
“magic quotes was on” never prints.
I have the following code in /Applications/XAMPP/xamppfiles/etc/[url removed, login to view] -
I have the following code in /Applications/XAMPP/xamppfiles/etc/.htaccess -
php_value magic_quotes 0
php_flag magic_quotes off
php_value magic_quotes_gpc 0
php_flag magic_quotes_gpc off
Payment upon successful resolution.
Thanks for your help!
9 freelancers are bidding on average $64 for this job
Hello. It seems you have already turned off magic quotes as it returns false if magic_quotes_runtime is off, true otherwise. Therefore, it does not pass if condition since magic quotes are turned off.
Hi! I'm a developer and sysadmin with 12+ years experience. I can do the job in few minutes and we can test it to make sure that it's working fine. Regards
Only if you need a serious developer. I have more than 9 years of experience in Web development primarily in PHP and I can help you with your magic quotes issue.