Completed

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

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/[url removed, login to view] -

————————

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!

Skills: Apache, HTML, PHP

See more: php payment module programmer, solve special character problem php, php script include interac payment module integration, magic quotes in php w3schools, magic quotes gpc htaccess off, magic quotes gpc off cpanel, magic_quotes_gpc = off, php magic quotes example, magic_quotes_gpc php 7, php 7 magic quotes, check if magic quotes is on, php, system admin, php prestashop payment module free, php online payment module, payment module installation oscommerce php, ikobo payment module php, credit card payment module php uk, build custom oscommerce payment module php, payment module php

About the Employer:
( 3 reviews ) Wirtz, United States

Project ID: #16509230

Awarded to:

Koleyitsolution

A proposal has not yet been provided

$30 USD in 1 day
(25 Reviews)
5.2

9 freelancers are bidding on average $64 for this job

Meagan26

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 More

$25 USD in 1 day
(247 Reviews)
7.4
celalaybar

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.

$30 USD in 0 days
(102 Reviews)
5.9
pabloramirezdz

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

$55 USD in 1 day
(23 Reviews)
5.1
wpmonsters

Hello, We are a team of 30 developers based in Russia. We specialise in: PHP & PHP frameworks, WordPress & Woocommerce, Opencart, Magento, API development, HTML5, CSS, JavaScript, Bootstrap, MySQL, etc. Get to kno More

$350 USD in 3 days
(18 Reviews)
5.2
dnplugins

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 More

$25 USD in 1 day
(39 Reviews)
4.7
IgorSkyFlyer93

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.

$21 USD in 1 day
(6 Reviews)
3.2
ahtishamashraf

Turn magic quotes on in [login to view URL] and htaccess

$15 USD in 3 days
(7 Reviews)
2.8
$25 USD in 1 day
(1 Review)
0.4