Interesting View from the Creator of PHP

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

MattF
Forum Contributor
Posts: 225
Joined: Sun May 19, 2002 9:58 am
Location: Sussex, UK

Post by MattF »

twigletmac wrote: register_globals has been deprecated it will be removed in a later version of PHP. At some point you won't be able to just edit the php.ini and turn it on so it's probably best to get used to life without it no matter what version of PHP you have.
But if for some reason you did want the functionality of register_globals being on you can just do extract($_RESQUEST); which does basically the same thing (Apart from $PHP_SELF).
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

I like register_global :D I think it should still be there
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

I'd prefer PHP to be server-based only...
Image Image
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

phice wrote:I'd prefer PHP to be server-based only...
Why?
Post Reply