Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    2

    Default register_globals

    Hello,

    I have a problem. I know, this is occurring as a result of register_globals being off in php.ini. I must enable it, but I don't know how I can do it. I'm waiting your helps.. Thanks..

  2. #2
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Hello,

    Please check the following url, It will help u to enable register_global
    http://forums.cpanel.net/showthread.php?t=47946
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  3. #3
    Member Saloni's Avatar
    Join Date
    May 2006
    Posts
    27

    Default

    You can edit your php.ini generally located at path : /usr/local/lib/php.ini or /usr/lib/php.ini

    register_globals = On

    You can also have this done using .htaccess file :

    you will need to create a .htaccess file in your site's main directory (or the main directory of your site that contains PHP scripts). Your .htaccess file should contain the following line:

    php_flag register_globals off


    Hope it Helps !!

  4. #4
    Registered User
    Join Date
    May 2006
    Posts
    2

    Default

    thanks for helps

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    Quote Originally Posted by bh2006
    Hello,

    I have a problem. I know, this is occurring as a result of register_globals being off in php.ini. I must enable it, but I don't know how I can do it. I'm waiting your helps.. Thanks..
    Turning register_globals on is a very bad idea for security.

    If you think you need to enable register_globals for a certain script/web app (please don't say you need this for your own scripts), first try to find any possible workaround or method that makes the relevant script/web app work with register_globals off. Secondly, try to find any possible workaround or method that makes the relevant script/web app work with register_globals off.

    What do you need register_globals on for?

Similar Threads & Tags
Similar threads

  1. on/off register_globals
    By arturoz in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-01-2009, 03:12 AM
  2. register_globals on or off ??
    By ctbhost in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-18-2008, 10:53 AM
  3. Can't enable register_globals
    By xxkylexx in forum cPanel and WHM Discussions
    Replies: 22
    Last Post: 08-31-2007, 04:24 PM
  4. register_globals On
    By rip_curl in forum cPanel and WHM Discussions
    Replies: 31
    Last Post: 09-08-2006, 03:45 PM
  5. register_globals help please
    By shann in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 08-10-2005, 11:35 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube