Results 1 to 9 of 9

Thread: how do one turn globals on?

  1. #1
    Senior Member convictor's Avatar
    Join Date
    Dec 2009
    Location
    south africa
    Posts
    115
    Thanks
    6
    Thanked 6 Times in 3 Posts
    Rep Power
    4

    Default how do one turn globals on?

    im having long now problems to make scripts connect to the database, even the simple forum script posted by riderz i failed to connect to the db. Lots of people explained to me, and i followed instrutions to the letter. Someone asked me if global register is on, i didnt if it was, so now i found out on my hosting its not on, so i assume thats why the scripts is not working?
    So how do i turn it on using htaccess, and how to make it secure, as i understand its a secutity risk turning it on?

  2. #2
    Senior Member khan's Avatar
    Join Date
    Dec 2009
    Location
    Bangladesh
    Posts
    700
    Thanks
    33
    Thanked 39 Times in 29 Posts
    Rep Power
    4

    Default

    whats ur script?

  3. #3
    Senior Member convictor's Avatar
    Join Date
    Dec 2009
    Location
    south africa
    Posts
    115
    Thanks
    6
    Thanked 6 Times in 3 Posts
    Rep Power
    4

    Default

    i used various scripts, the scotspaul one thats in 5 parts here, some of the other lava scripts, besttop, basically any script that have a connect to db.

  4. #4
    Senior Member opticalpigion's Avatar
    Join Date
    Oct 2007
    Location
    India
    Posts
    578
    Thanks
    32
    Thanked 85 Times in 37 Posts
    Blog Entries
    1
    Rep Power
    0

    Default

    in .htaccess add

    Code:
    php_flag register_globals on
    to turn it off

    Code:
    php_flag register_globals off
    [Only registered and activated users can see links. Click Here To Register...]

  5. #5
    Senior Member convictor's Avatar
    Join Date
    Dec 2009
    Location
    south africa
    Posts
    115
    Thanks
    6
    Thanked 6 Times in 3 Posts
    Rep Power
    4

    Default

    so that i do in the root folder only? Not in every directory?

  6. #6
    Senior Member
    Join Date
    Mar 2009
    Posts
    129
    Thanks
    0
    Thanked 15 Times in 3 Posts
    Rep Power
    5

    Default

    Yup.. Only in root..

  7. #7
    Senior Member CreativityKills's Avatar
    Join Date
    May 2009
    Location
    Lagos
    Posts
    844
    Thanks
    0
    Thanked 106 Times in 62 Posts
    Rep Power
    4

    Default

    how u turn on register lots of holes on your server? Thats how above. Enjoy, you may see why it was off in the first place.

  8. #8
    Senior Member convictor's Avatar
    Join Date
    Dec 2009
    Location
    south africa
    Posts
    115
    Thanks
    6
    Thanked 6 Times in 3 Posts
    Rep Power
    4

    Default

    stupid question, how to make chat sites work with globals off?

  9. #9
    Super Moderator subzero's Avatar
    Join Date
    Mar 2006
    Location
    Your Screen.
    Posts
    3,971
    Thanks
    442
    Thanked 379 Times in 180 Posts
    Blog Entries
    7
    Rep Power
    0

    Default

    All my site did had register_globals on and they didnt get hacked lol

    they tryed and tryed they failed and failed ....

    Reason Way Mr.subzero i take care what i code in a script never taken it fast to boot holes for idiots to hit..
    Visit: [Only registered and activated users can see links. Click Here To Register...]
    Visit: [Only registered and activated users can see links. Click Here To Register...]
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. turn off registration from any other sites
    By bijaybd in forum REQUEST FORUM
    Replies: 38
    Last Post: 02-12-09, 15:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19