PHP help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PXN
    Confirmed User
    • Jun 2008
    • 1548

    #1

    PHP help

    Ok, I'm installing a script, I was given an instruction to:

    set global_vars to on

    I can't seem to find anything about global_vars in php. Is global_vars the same as

    register_globals ?

    I asked my host to set global_vars to on, but they told me they only know register_globals.

    Help!
  • HomerSimpson
    Too lazy to set a custom title
    • Sep 2005
    • 13826

    #2
    make php.ini file and put in a folder and put this single line in it
    Code:
    register_globals = on
    PS: scripts that request register_globals in order to run might not be safe (in terms of hacker safe), so take care.

    PPS: are you maybee installing Joomla?
    Make a bank with Chaturbate - the best selling webcam program
    Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

    PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:

    Comment

    • PXN
      Confirmed User
      • Jun 2008
      • 1548

      #3
      Originally posted by HomerSimpson
      make php.ini file and put in a folder and put this single line in it
      Code:
      register_globals = on
      PS: scripts that request register_globals in order to run might not be safe (in terms of hacker safe), so take care.

      PPS: are you maybee installing Joomla?
      That's what I thought too setting register_globals to on would be unsafe. But is register_globals the same thing as global_vars? That's what I'm so confuse about.

      Comment

      • HorseShit
        Too lazy to set a custom title
        • Dec 2004
        • 17513

        #4
        http://us.php.net/manual/en/language...predefined.php

        Comment

        • PXN
          Confirmed User
          • Jun 2008
          • 1548

          #5
          Thanks, that help. Got the problem solve

          Comment

          Working...