Re: Newbie Question: Undefined Variable Problem
| From: | JB | Date: | Mon, 07 Apr 2003 21:16:44 +0000 |
| Subject: | Re: Newbie Question: Undefined Variable Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142755@lists.php.net to get a copy of this message | ||
Thanks for the ones who forwarded suggestions. It was indeed the
register_globals = on setting in the php.ini...
JB
"Jb" <jb@soundspiration.com> wrote in message
news:20030407203540.75555.qmail@pb1.pair.com...
> Hi there,
>
> Since I'm a newbie to PHP running on an Apache test server (Win2k), I have
> no idea whether this has been asked before. So I apologize in advance:
>
> I have a very simple script that passes a variable from one page to
another.
> However, the recipient page throws an error stating that:
>
> Notice: Undefined variable: username in D:\Program Files\Apache
> Group\Apache2\htdocs\practice\processform.php on line 3
>
> I'm sure this is a setting on the server, since the same script will run
> just fine on the production server (also Apache).
>
> Can anyone shed some light on this? Where do I start looking. I'm sure it
> has something to do with the script not being interpreted properly
(although
> PHP was installed).
>
> Thanks,
>
> JB
>
>