Knowledgebase

Errors relating to Magic Quotes

If your getting error messages relating to "Magic Quotes" when using or programming in PHP, or have installed an application from Fantastico Installer then you may experience some error's (You must reconfigure your php.ini file to have magic_quotes_gpc set to ON)

In order to rectify this you will need to visit the software suppliers website to find an updated version of the application you are trying to use, or re-write your PHP code not to rely on using magic quotes as it will bite you in the backside eventually.

Have a read of this which should enlighten you more on magic quotes:
http://www.webmasterstop.com/63.html

As part of being an "ethical" hosting company we fully support and where possible encourage good coding as you will benefit more in the long run.

Sadly, not all software suppliers write good code or simply have not updated there applications yet but its always worth asking them...

All of our PHP5 web hosting servers have magic quotes turned off.

  • 40 Users Found This Useful

Was this answer helpful?

Related Articles

Creating PHPinfo files

When you first setup your hosting account with you you will probably want to see whats...

open_basedir restriction in effect

If you are trying to use your temporary URL provided in your welcome email and are getting error...

Path to PEAR and PEARDB

Your path to PEAR on all servers is: /home/cpanelusername/php (Replacing "cpanelusername"...

Perl version & Path to Perl & Sendmail

If you need to find out the Current Versions and Paths to both Perl and Sendmail then simply...

PHP Compiled as? (Problems with files)

In answer to the many many questions we get about how PHP has been compiled, let us try to...