Unable to turn off “Magic-Quotes” - PHP - Assistance Needed

Cancelled Posted 6 years ago Paid on delivery
Cancelled 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!

Apache HTML Linux MySQL PHP

Project ID: #16524642

About the project

5 proposals Remote project Active 6 years ago

5 freelancers are bidding on average $13 for this job

creativewebpixel

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

$15 AUD in 1 day
(7 Reviews)
3.0