RE: [PHP] PHP not working, giving "undefined variable"
| From: | PHPSpooky | Date: | Mon, 26 May 2003 15:41:16 +0000 |
| Subject: | RE: [PHP] PHP not working, giving "undefined variable" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148991@lists.php.net to get a copy of this message | ||
Glory!
Yes actually someone did help me and I corrected the Error Notice
parameter in the php.ini
Exactly what do you mean by "hijack treads" ?
PHPSpooky
______________________________________
"If God had wanted me otherwise, He would have created me otherwise."
- Johann Wolfgang von Goethe
-----Original Message-----
From: Marek Kilimajer [mailto:kilimajer@webglobe.sk]
Sent: Monday, May 26, 2003 6:44 PM
To: phpspooky@mjimm.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP not working, giving "undefined variable"
First, please don't highjack treads, you will have a higher chance
someone will answer you.
Second, you have error_reporting set too high in your php.ini, set it to
E_ALL & ~E_NOTICE and read Error Handling section of the manual.
PHP Spooky wrote:
>Glory!
>
>I recently installed Apache2 on my WindowsXP system. And I'm running
the
>latest PHP version.
>
>Everything was working fine but today I noticed something, an error.
Now
>I don't know, I cant recall, if it's since I installed Apache2 or if it
>just started today. But anyway, here's the deal..
>
>In any script that I provide where I'm using the
>if(!$submit)
>to check if the form has been submitted or not, I get the following
>error :
>
>Notice: Undefined variable: submit in D:\Program Files\Apache
>Group\Apache2\htdocs\mjs\dir\install.php on line 6
>
>Basically it's giving me a "Notice : Undefined variable" error. Why? I
>have the Register_Globals turned On. And I never had this problem. I
>have been using this $submit variable from a long time. How do I
rectify
>this problem? What has happened?
>
>Thanks,
>PHPSpooky
>
>______________________________________
>"If God had wanted me otherwise, He would have created me otherwise."
> - Johann Wolfgang von Goethe
>
>
>
>