Jump to content

Can you switch off magic quotes on a page level?


webref.eu

Recommended Posts

All of the php.ini settings are documented in the php manual. It lists where they can be modified, such as

 

PHP_INI_USER: Entry can be set in user scripts or in Windows registry

PHP_INI_PERDIR: Entry can be set in php.ini, .htaccess or httpd.conf

PHP_INI_SYSTEM: Entry can be set in php.ini or httpd.conf

PHP_INI_ALL: Entry can be set anywhere

 

For the specific setting you are asking about (magic_quotes_gpc or magic_quotes_runtime - one cannot be turned off in your script and one can be) you can find the answer to your question in the php manual.

 

Sorry to be vague with the answer, but you did not state which setting you are asking about. You need to check the php manual for basic information like this before asking in a forum.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.