Writing scripts without register globals.

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

Post Reply
mwphurst
Forum Newbie
Posts: 17
Joined: Fri Jan 16, 2004 9:59 pm

Writing scripts without register globals.

Post by mwphurst »

Just as I was starting to get comfortable with php they go and switch up on me. I know it has been an issue for some time, but I haven't had to deal with it till now. Until now I haven't needed to write everything with $_SESSION $_GET $_POST etc. Now my problem is knowing what gets one and what doesn't. I don't really understand when and where to use them.

Can someone give me a simple explanation or a link to a good tutorial. Please don't link me to php.net. They don't show what need to know.

Michael
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

i know i shouldnt do this but im not explaining a question that has been asked a thousand times before

Jason written a massive explanation here
Post Reply