1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

register globals

Discussion in 'Plesk for Windows - 8.x and Older' started by diegonoe06, Apr 8, 2009.

  1. diegonoe06

    diegonoe06 Guest

    0
     
    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.
     
  2. WinHN HN

    WinHN HN Guest

    0
     
    Hi,

    Open up %systemroot%/php.ini, search for register_globals, set it to 1 ; thats all
     
  3. JoseJ

    JoseJ Guest

    0
     
    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.
     
Loading...