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!
Bu iş için 9 freelancer ortalamada $64 teklif veriyor
Hello, I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer and graphic designer with a diploma in the field of web development. I have been worki Daha Fazla
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
Your magic quotes is already turned off that is the reason your debug message does not print. get_magic_quotes_runtime returns false because it is turned off from php.ini. You can turn it on from [login to view URL] for your debug Daha Fazla
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.
Turn magic quotes on in [login to view URL] and htaccess