PHP global variables - please help me

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
TTman
Forum Newbie
Posts: 1
Joined: Fri Jan 22, 2010 5:29 pm

PHP global variables - please help me

Post by TTman »

Hi everyone,

I'm completely new to PHP and am becoming very frustrated with this 'global-variable' issue. I've been using variables but my results have not been showing in the browser. Apparently, the global variables need to be turned on. But I've read that this is not a good idea for security reasons.

Then I read that I need to use $_GET and $_POST to get around the problem. Can anyone explain what is going on before I give up completely?

Thanks.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP global variables - please help me

Post by requinix »

This should help explain it.
Post Reply