Unable to turn off “Magic-Quotes” - PHP - Assistance Needed
$10-30 USD
Imekamilika
Imechapishwa about 6 years ago
$10-30 USD
Kulipwa wakati wa kufikishwa
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!
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 working in the field of web development for roughly 7 years. I take great pride in my work and deliver only the best quality.
My skill-set includes...
-PHP
-HTML5
-CSS
-AJAX
-Responsive Design
-Joomla
-Wordpress
-Magento
-Drupal
-Photoshop
-Illustrator
-Video Editing
-Data entry
-Iphone
-Android
I look forward to hearing from you and hopefully we will have the opportunity to work together.
Thank you,
Coasif
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
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.