1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

php.ini?

Discussion in 'BBS Hangout' started by yuantian, Oct 26, 2008.

  1. yuantian

    yuantian Member

    Joined:
    Sep 14, 2005
    Messages:
    2,849
    Likes Received:
    8
    i am installing some software on my server. this global register thing should be disabled for security reason, so i hear. i searched a few methods to do so on the net, but i can't find php.ini file. i created one myself, but it doesn't seem to work. anyone know what i am talking? if so, please help. thanks. :D
     
  2. aeroman10

    aeroman10 Member

    Joined:
    Nov 2, 2003
    Messages:
    2,695
    Likes Received:
    50
    Is it your own server or shared hosting?
    If its shared hosting I don't think you can do this yourself, you will need to contact the host. If its your own server...I don't know where the file is at either :p
     
  3. Omer

    Omer Member

    Joined:
    Mar 25, 2006
    Messages:
    3,933
    Likes Received:
    56
  4. Kyakko

    Kyakko Member

    Joined:
    Aug 15, 2002
    Messages:
    2,161
    Likes Received:
    39
    create a file called php.ini and put this in "register_globals = off" (no quotes) in it. save it in your root directory. what it does is make all variables in a php based webpage global. so, if you know what variables the code uses you can do things like this "www.somepage.com?password_varified=true"; if you don't have any php web apps, it shouldn't be an issue.

    edit: forgot to add

    it also depends on the admin settings. it maybe set so you can't used a custom php.ini file to overwrite the default settings.
     
    #4 Kyakko, Oct 26, 2008
    Last edited: Oct 26, 2008
  5. yuantian

    yuantian Member

    Joined:
    Sep 14, 2005
    Messages:
    2,849
    Likes Received:
    8
    using GoDaddy server. was trying to install phpBB. during the installation, i created a php.ini file that contains the code above. but the installation still says it's not correct. maybe it takes time for it to take effect? oh well. thanks guys. :)
     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now