• 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

D

diegonoe06

Guest
Hello all,

I have register_globals disable on the server for well known security reasons.

Anywhere, I have to enable it for some customers who need it.

I enable it by adding the registry key:

MyComputer >> HKEY_LOCAL_MACHINE >> SOFTWARE >> Wow6432Node >> PHP >> PER DIRECTORY VALUES >> C >> INETPUB >> VHOSTS >> DOMAIN.TLD

Then, analizing phpinfo reports, I see register_globals "on" (Local Value) and register_globals "off" (master value). It is ok, as I desire.

But, php scripts still does not take variable values. It is very strange, because phpinfo reports that register_globals is on.

### Here is my script test.php

<?php
echo $parameter;
?>



### Here is my script prueba.php

http://domain.com/test.php?parameter=1


### The output should be "1", but none value returned.


Any ideas?
Thanks.
 
Hi,

Open up %systemroot%/php.ini, search for register_globals, set it to 1 ; thats all
 
I have the same problem, although the accused php_info():

Directive / Local Value / Master Value
register_globals / On / Off

and input to registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP\Per Directory Values\C\Inetpub\vhosts\mydomain.com]
"register_globals"="1"
(not on, does not turn on with the local value)

register_globals does not work within the site.

System Plesk 9.0 and Win 2008 Server x64 Sp2

Help, Thanks.
 
Back
Top