Jump to content


- - - - -

magic quotes


  • You cannot reply to this topic
8 replies to this topic

#1 Jonathan Delfraisse

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 27 May 2011 - 08:34 AM

What is the best way to turn off magic quotes? I have tried both these lines in my .htaccess file to no success.
php_flag magic_quotes_gpc off
php_value magic_quotes_gpc Off

Thanks,

Jonathan

#2 CH-Jonathan

    Cartika Staff

  • Staff
  • 729 posts

Posted 27 May 2011 - 08:38 AM

Hello,

Unfortunately, changes like this can only be made at the server level (php.ini). I apologize for the inconvenience.

View PostJonathan Delfraisse, on 27 May 2011 - 08:34 AM, said:

What is the best way to turn off magic quotes? I have tried both these lines in my .htaccess file to no success.
php_flag magic_quotes_gpc off
php_value magic_quotes_gpc Off

Thanks,

Jonathan

Edited by CH-Jonathan, 27 May 2011 - 08:52 AM.

Jonathan M. Slivko
Senior Support Representative
Cartika, Inc.

#3 Jonathan Delfraisse

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 27 May 2011 - 09:36 AM

According to this web site: http://php.net/manua...magicquotes.php, the "This feature has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged." I noticed we are on 5.2.17. I am not sure of the upgrade time line for PHP, but is there any chance of getting it turned off? Do you know of any one still using it?

Thanks!

#4 CH-Jonathan

    Cartika Staff

  • Staff
  • 729 posts

Posted 27 May 2011 - 10:00 AM

Hello,

At this point - nobody should be using magic quotes and as such, it's not something that we can really enable as it poses security risks (especially with PHP 5.3.0 depreciating it).

View PostJonathan Delfraisse, on 27 May 2011 - 09:36 AM, said:

According to this web site: http://php.net/manua...magicquotes.php, the "This feature has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged." I noticed we are on 5.2.17. I am not sure of the upgrade time line for PHP, but is there any chance of getting it turned off? Do you know of any one still using it?

Thanks!

Jonathan M. Slivko
Senior Support Representative
Cartika, Inc.

#5 Jonathan Delfraisse

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 27 May 2011 - 10:05 AM

View PostCH-Jonathan, on 27 May 2011 - 10:00 AM, said:

Hello,

At this point - nobody should be using magic quotes and as such, it's not something that we can really enable as it poses security risks (especially with PHP 5.3.0 depreciating it).

I agree. But on web14 its still turned on. http://magento.delfr...com/phpinfo.php

BTW. Thank you for your quick responses!!! (One of the many reasons I am a customer)

#6 CH-Jonathan

    Cartika Staff

  • Staff
  • 729 posts

Posted 27 May 2011 - 10:31 AM

Hello,

Magic quotes has been disabled.

View PostJonathan Delfraisse, on 27 May 2011 - 10:05 AM, said:

I agree. But on web14 its still turned on. http://magento.delfr...com/phpinfo.php

BTW. Thank you for your quick responses!!! (One of the many reasons I am a customer)

Edited by CH-Jonathan, 27 May 2011 - 10:31 AM.

Jonathan M. Slivko
Senior Support Representative
Cartika, Inc.

#7 CH-Dave S.

    Cartika Staff

  • Managers
  • 198 posts

Posted 27 May 2011 - 10:35 AM

View PostJonathan Delfraisse, on 27 May 2011 - 10:05 AM, said:

I agree. But on web14 its still turned on. http://magento.delfr...com/phpinfo.php

BTW. Thank you for your quick responses!!! (One of the many reasons I am a customer)


Hi Jonathan,

This has been something we have been discussing. We will be turning magic_quotes off on web14 shortly at the server level, along with others. All popular scripts support this feature being turned off, and many require this setting to be off. Those utilizing outdated scripting will need to update their scripts/coding moving forward.

Thank you for your input on this matter.
- Dave
Cartika Hosting

#8 Jonathan Delfraisse

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 27 May 2011 - 12:14 PM

View PostCH-Jonathan, on 27 May 2011 - 10:31 AM, said:

Magic quotes has been disabled.

View PostCH-Dave S., on 27 May 2011 - 10:35 AM, said:

...We will be turning magic_quotes off on web14 shortly at the server level, along with others. ... Thank you for your input on this matter.

I am not trying to be impatient because the service is great here, but the phpinfo() shows the magic quotes is still enabled.

#9 CH-Jonathan

    Cartika Staff

  • Staff
  • 729 posts

Posted 27 May 2011 - 12:49 PM

Hi Jonathan,

I apologize - this has been resolved (as confirmed by your magento PHP info file).

View PostJonathan Delfraisse, on 27 May 2011 - 12:14 PM, said:

I am not trying to be impatient because the service is great here, but the phpinfo() shows the magic quotes is still enabled.

Jonathan M. Slivko
Senior Support Representative
Cartika, Inc.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2012 Cartika Hosting. All rights reserved