Re: Re: passing variables between php pages
| From: | Paras Mukadam | Date: | Thu, 09 May 2002 16:11:55 +0000 |
| Subject: | Re: Re: passing variables between php pages | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96826@lists.php.net to get a copy of this message | ||
> > I'm new to this as well, but have learned defining globals is not good
> > practice. Avoid this if possible. Write your scripts so that you do
not
> > need to do this.
>
> You're probably confusing this with "register_globals" which is a setting
in
> php.ini and is indeed a bad idea.
>
>
But why is this so bad ? If I have only one website on a machine and no-one
other than myself uses this machine, why is it bad? Kindly explain.
regards,
Paras.