Re: [PHP] undefined variable notice - how to furn of

2003-01-09 Thread Gurvinder Singh
or give error_reporting(0); in the start of the file

"Joseph W. Goff" <[EMAIL PROTECTED]> wrote in message
002601c2b803$26a67110$bdcaa8c0@jg42000">news:002601c2b803$26a67110$bdcaa8c0@jg42000...
> In the php.ini file set error reporting to E_ALL & ~E_NOTICE
>
> - Original Message -
> From: "Borut Kovacec" <[EMAIL PROTECTED]>
> To: "PHP Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, January 09, 2003 9:57 AM
> Subject: [PHP] undefined variable notice - how to furn of
>
>
> Hi
>
> I just installed new php 4.2.3 on Win XP, Apache 1.3.24..
> Everything works fine, just now I'm getting "Notice" messages for every
> undefined variable or undefined index in arrays..
>
> So now I have to use issset() everytime to avoid this messages...
>
> ..is there any way to turn this messages off, because if prior versions I
> never got them..??
>
> Borut
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] undefined variable notice - how to furn of

2003-01-09 Thread Joseph W. Goff
In the php.ini file set error reporting to E_ALL & ~E_NOTICE

- Original Message -
From: "Borut Kovacec" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 09, 2003 9:57 AM
Subject: [PHP] undefined variable notice - how to furn of


Hi

I just installed new php 4.2.3 on Win XP, Apache 1.3.24..
Everything works fine, just now I'm getting "Notice" messages for every
undefined variable or undefined index in arrays..

So now I have to use issset() everytime to avoid this messages...

..is there any way to turn this messages off, because if prior versions I
never got them..??

Borut



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] undefined variable notice - how to furn of[Scanned]

2003-01-09 Thread Michael Egan
Borut,

I had this problem myself just before Christmas.

The following solution was proposed:

>> All of the PHP scripts hosted on a Linux server 
>> I'm working with have suddenly begun producing 
>> an error message:
>>
>>  undefined variable 'variablename'

> Looks like someone's tweaked the error reporting level so it's on E_ALL,
> which can be a somewhat alarmist setting :-)

> Read all about it at http://php.net/manual/en/ref.errorfunc.php

Michael Egan



-Original Message-
From: Borut Kovacec [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2003 15:57
To: PHP Mailing List
Subject: [PHP] undefined variable notice - how to furn of[Scanned]


Hi

I just installed new php 4.2.3 on Win XP, Apache 1.3.24..
Everything works fine, just now I'm getting "Notice" messages for every undefined 
variable or undefined index in arrays..

So now I have to use issset() everytime to avoid this messages... 

..is there any way to turn this messages off, because if prior versions I never got 
them..??

Borut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] undefined variable notice - how to furn of

2003-01-09 Thread Borut Kovacec
Hi

I just installed new php 4.2.3 on Win XP, Apache 1.3.24..
Everything works fine, just now I'm getting "Notice" messages for every undefined 
variable or undefined index in arrays..

So now I have to use issset() everytime to avoid this messages... 

..is there any way to turn this messages off, because if prior versions I never got 
them..??

Borut