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

Avbrutt Lagt ut 6 år siden Betales ved levering
Avbrutt Betales ved levering

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

Prosjekt-ID: #16524642

Om prosjektet

5 bud Eksternt prosjekt Aktiv 6 år siden

5 frilansere byr i gjennomsnitt $13 for denne jobben

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 på 1 dag
(7 Omtaler)
3.0