Unable to turn off “Magic-Quotes” - PHP - Assistance Needed
$10 AUD
Paid on delivery
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:
—————
<?php
if(get_magic_quotes_runtime())
{
print("magic quotes was on");
set_magic_quotes_runtime(false);
}
?>
———————
“magic quotes was on” never prints.
I have the following code in /Applications/XAMPP/xamppfiles/etc/[login to view URL] -
————————
magic_quotes_gpc=Off
magic_quotes_runtime=Off
magic_quotes_sybase=Off
————————
I have the following code in /Applications/XAMPP/xamppfiles/etc/.htaccess -
———————————
# 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!
Project ID: #16524642
About the project
5 freelancers are bidding on average $13 for this job
Hello, I have read the project description very carefully. ***Available to Start work now and able to complete this job. Looking forward for your response. Regards