• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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