• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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