Re: errormessage: undefined variables - why define them?
| From: | Uwe Birkenhain | Date: | Mon, 01 Jul 2002 04:54:07 +0000 |
| Subject: | Re: errormessage: undefined variables - why define them? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14485@lists.php.net to get a copy of this message | ||
It was again very easy,
I woke up this morning (at 6) and remembered that there are different
possibilites to adjust the behavior of errormessages in php.ini - and that
was it: "show all errormessages and warnings" - what I never have on the
server. And then php will will warn me - and will later fill that variable
with an empty string.
Thanks for the help,
Uwe
But there remains the question why the programs are not running anyway - but
I will try first.
I nice and sunny week to everybody!
Uwe Birkenhain schrieb in Nachricht
<20020630180524.29243.qmail@pb1.pair.com>...
>Hi everybody,
>I have PHP 4.21 since today running on my win98-PC (YEAH!)
>
>Now I try the programs which I usually use on a webserver -
>they work basically, but I get a lot of errormessages like "Undefined
>variable: mod in ....."
>
>Two questions:
>- is it now neccessary to define variables before I use them??? Or is it a
>windows-problem? Or what?
>- some of the undefined variables are defined, but in an include-file - why
>might this be a problem?
>
>Thank's a lot for any help,
>Uwe
>
>