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 adrianodalpra, Oct 26, 2006.

  1. adrianodalpra

    adrianodalpra Guest

    0
     
    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.
     
  2. gozner

    gozner Guest

    0
     
    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
     
  3. igoldman

    igoldman Regular Pleskian

    26
    23%
    Joined:
    Sep 14, 2004
    Messages:
    212
    Likes Received:
    0
    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.
     
  4. sergius

    sergius Golden Pleskian

    28
    57%
    Joined:
    Nov 6, 2005
    Messages:
    1,898
    Likes Received:
    0
Loading...