register_globals

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Samuel Shulman

    register_globals

    I keep getting the
    'FATAL ERROR: register_global s is disabled in php.ini, please enable it!'
    error

    I changes that settings and I still get this error

    What should I do next?

    Thank you,
    Samuel



  • Miguel Cruz

    #2
    Re: register_global s

    "Samuel Shulman" <samuel.shulman @ntlworld.comwr ote:
    I keep getting the
    'FATAL ERROR: register_global s is disabled in php.ini, please enable it!'
    error
    >
    I changes that settings and I still get this error
    >
    What should I do next?
    This error message comes from some software written in PHP that you are
    trying to run; it is not part of PHP. Maybe the software isn't testing
    properly? Maybe you have disabled register_global s in httpd.conf or
    ..htaccess?

    miguel
    --
    Photos from 40 countries on 5 continents: http://travel.u.nu
    Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
    Airports of the world: http://airport.u.nu

    Comment

    • dawnerd

      #3
      Re: register_global s


      Samuel Shulman wrote:
      I keep getting the
      'FATAL ERROR: register_global s is disabled in php.ini, please enable it!'
      error
      >
      I changes that settings and I still get this error
      >
      What should I do next?
      >
      Thank you,
      Samuel
      No, never enable register_global s. Bad, Bad, Bad. Something else is
      wrong in your script/server. What script are you trying to run? Is it a
      custom made one? if so then you should know where that error is coming
      from. Else, the script your are using is screwed...

      Comment

      • Samuel Shulman

        #4
        Re: register_global s

        Thank you for your response,

        This is the script that probably caused the problem:

        if (function_exist s('ini_get')) {
        ini_get('regist er_globals') or exit('FATAL ERROR: register_global s is
        disabled in php.ini, please enable it!');
        }

        This script is part of a big website that already running and I only want to
        keep it working

        What can I do?

        Samuel



        "dawnerd" <dawnerd@gmail. comwrote in message
        news:1154462455 .318133.218150@ i42g2000cwa.goo glegroups.com.. .
        >
        Samuel Shulman wrote:
        >I keep getting the
        >'FATAL ERROR: register_global s is disabled in php.ini, please enable it!'
        >error
        >>
        >I changes that settings and I still get this error
        >>
        >What should I do next?
        >>
        >Thank you,
        >Samuel
        >
        No, never enable register_global s. Bad, Bad, Bad. Something else is
        wrong in your script/server. What script are you trying to run? Is it a
        custom made one? if so then you should know where that error is coming
        from. Else, the script your are using is screwed...
        >

        Comment

        • Jerry Stuckle

          #5
          Re: register_global s

          Samuel Shulman wrote:
          Thank you for your response,
          >
          This is the script that probably caused the problem:
          >
          if (function_exist s('ini_get')) {
          ini_get('regist er_globals') or exit('FATAL ERROR: register_global s is
          disabled in php.ini, please enable it!');
          }
          >
          This script is part of a big website that already running and I only want to
          keep it working
          >
          What can I do?
          >
          Samuel
          >
          >
          >
          "dawnerd" <dawnerd@gmail. comwrote in message
          news:1154462455 .318133.218150@ i42g2000cwa.goo glegroups.com.. .
          >
          >>Samuel Shulman wrote:
          >>
          >>>I keep getting the
          >>>'FATAL ERROR: register_global s is disabled in php.ini, please enable it!'
          >>>error
          >>>
          >>>I changes that settings and I still get this error
          >>>
          >>>What should I do next?
          >>>
          >>>Thank you,
          >>>Samuel
          >>
          >>No, never enable register_global s. Bad, Bad, Bad. Something else is
          >>wrong in your script/server. What script are you trying to run? Is it a
          >>custom made one? if so then you should know where that error is coming
          >>from. Else, the script your are using is screwed...
          >>
          >
          >
          >
          You didn't say which version of PHP you're running, but turning it on in
          the php.ini file should work - unless it's overridden, as Miguel
          indicated. Be sure to check the syntax of your php.ini very carefully.

          However - you NEED to fix your code so that it doesn't require
          register_global s to be on. It's a huge security hole, and may be
          completely disabled in future versions of PHP.

          So you can fix it now, or run with the security risk and have to change
          it later, anyway. Better to do it now.

          --
          =============== ===
          Remove the "x" from my email address
          Jerry Stuckle
          JDS Computer Training Corp.
          jstucklex@attgl obal.net
          =============== ===

          Comment

          • Andy Hassall

            #6
            Re: register_global s

            On Tue, 01 Aug 2006 19:04:48 GMT, "Samuel Shulman"
            <samuel.shulman @ntlworld.comwr ote:
            >I keep getting the
            >'FATAL ERROR: register_global s is disabled in php.ini, please enable it!'
            >error
            >
            >I changes that settings and I still get this error
            >
            >What should I do next?
            Find the script that is insisting register_global s is turned on, and either
            upgrade it to a version that doesn't require register_global s, or stop using
            it.

            register_global s isn't inherently a security risk, but it does turn certain
            sloppy programming practices into severe security risks - and it is itself a
            sloppy programming practice, and strongly deprecated many versions of PHP ago.

            --
            Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
            http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

            Comment

            Working...