• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

register_globals

A

adrianodalpra

Guest
Hi,

I would like to allow register_globals="On" only for some selected sites on PHP 4.4.4.

I only know how to disable/enable this flag to all sites on php.ini. There is a way to allow this only for some sites?

I want to disallow register_globals on server but need it on to some clientes.

Thanks for any information.
 
Create a file .htaccess in the root directory of the site you want to enable register_globals and put this:

php_flag register_globals on

I think this should fix it
 
copy the php.ini to the httpdocs directory of the domain you want to allow global register.
then edit the php.ini which you have copied and change the row of the global register to be ON.
now global register will work on the specific domain you wanted.
 
Back
Top