PDA

View Full Version : [PHP] Alternatives to register_globals



iUnknown
05-07-2008, 08:55 PM
Hello,

Register_globals is a security risk and will be completely dropped in php 6.0.0.
I've got a script that uses register_globals frequently throughout...

If anyone could help me out and tell me things that may are used in register_globals and alternatives to them, that'd be great.

I'm new to PHP but I've done many edits and things like that with it many times. I've never tried to learn it, but now I'm trying to code something I've learnt a lot more. It's really great, and I'm sure a lot of you will love what I've coded. Top secret for now. Don't say if you know or have worked it out, spoils the fun!

Anyway, any things that will only work with register_globals on please tell me, and if you know, please could you suggest an alternative to them.

Thanks in advance.

Protege
05-07-2008, 09:22 PM
http://uk2.php.net/register_globals -> read.

iUnknown
05-07-2008, 10:01 PM
I see.... thanks. thread closed.

Want to hide these adverts? Register an account for free!