form validation and redirect problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

Post by raghavan20 »

I went through the register_globals in php.net but not really totally understood what they were saying??? :(
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

basically.. they say only if you have register_globals on, should you even think about using session_register(). They recommend using the $_SESSION superglobal instead.

register_globals should always be off at this stage in the game.
User avatar
raghavan20
DevNet Resident
Posts: 1451
Joined: Sat Jun 11, 2005 6:57 am
Location: London, UK
Contact:

Post by raghavan20 »

thanks for the definition feyd :)
laticca8
Forum Newbie
Posts: 13
Joined: Sat Aug 20, 2005 2:58 am

Post by laticca8 »

thanks guys! i'm having quite a few problems with the communication between my sessions script and my server (as referenced in a new thread). all of this info has been very helpful!
Post Reply