How do I enable register global for a single account?

We would strongly suggest avoiding enabling register_globals in global PHP configuration as this may lead to different security-related issues. Please refer to the following article on php.net site regarding the register_globals and the ways to work with variables while register_globals is turned off: http://us2.php.net/register_globals
If register_globals must be enabled, then it will be better to do this only for directory/subdirectory where your have installed some particular application which can't work while register_globals is disabled. To do this just create/edit .htaccess file in the directory where you have this application installed and add following line:
php_flag register_globals on.

Note: This will work only if PHP is compiled into Apache as module. This will not with if PHP is being executed through suexec.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Site Preview Issues in Plesk

  This article details how to fix a malfunctioning "Site Preview" button.The Plesk control...

How to enable SSH Terminal for FTP user within Plesk?

  The following tutorial will show you how to enable SSH access for any domain name in...

How do I setup a catchall Email in Plesk?

  A catch all email address can come in handy when you need to send an email address to an...

How do I manage Crontab in Plesk?

  Managing Cron Tab will help automate your website. Crontab is used for running scripts at...

How do I find the Plesk admin password?

  Finding the Plesk admin password is relativity easy. Simply follow our below steps, and...

Powered by WHMCompleteSolution