Page 1 of 1

PHP global variables - please help me

Posted: Fri Jan 22, 2010 5:48 pm
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.

Re: PHP global variables - please help me

Posted: Fri Jan 22, 2010 6:09 pm
by requinix
This should help explain it.