/    Sign up×
Community /Pin to ProfileBookmark

Register Globals

Can someone tell me how you would turn on Register Globals?

Magikey

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryJun 19.2004 — First you should read [url=http://uk.php.net/manual/en/security.globals.php]this[/url] and decide whether you really need register_globals on - there are security issues with it.

If so, you will need to edit your php.ini file (which will be stored somewhere on your server's path, depending on operating system and system configuration). It contains the line "register_globals = off" which you need to change to "register_globals = on".

Adam
Copy linkTweet thisAlerts:
@pyroJun 20.2004 — register_globals is evil. register_globals is evil. register_globals is ... Oh, ahem.
Copy linkTweet thisAlerts:
@shimonJun 21.2004 — You shouldn't even be thinking about trying to enable it - have you ever tried debuggering someone else's 4,000 line-long script which gives you no idea where $id comes from?

It's no fun *curses amateurish coders*
×

Success!

Help @Magikey spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...