PHP register_globals on??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • defining
    Junior Member
    • Aug 2004
    • 8

    #1

    PHP register_globals on??

    I'm was on Cpanel23b, but I believe we just got upgraded... now all my older PHP sites are having problems with the PHP register_globals.

    I've tried adding the following to the .htaccess file but it hasn't worked. I get a server error message. Does anyone know how to enable global_variables for older sites using PHP?

    .htaccess.........
    php_value register_globals on


    Any help would be great, I don't want to spend time updating all the old sites.
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    This was addressed in the upgrade thread:

    ATTN ALL customers located on cpanel23b, please read and understand this entire thread thoroughly. Beginning on the evening of December 15th, cpanel23b will be upgraded to our new platform. More information on this can be found here: http://forums.dathorn.com/showthread.php?t=2094 Instead of being on cpanel23b, users will


    Also, if your scripts require PHP's register_globals to be enabled, you will need to create a php.ini file in the exact directory of the script that requires the setting with the following line in it:

    register_globals = On

    Comment

    • defining
      Junior Member
      • Aug 2004
      • 8

      #3
      thanks!

      Comment

      Working...