Re: php

From: Date: Tue, 01 Jun 2004 18:45:50 +0000
Subject: Re: php
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-13594@lists.php.net to get a copy of this message
Vadim wrote:
Hello. I have often error, like this "Undefined variable: *** in *:\*\*\htdocs\*.php on line 2" when I work with PHP. What is it? My configuration: Windows XP, Apache 2.0.49, PHP 4.3.5 Some month ago I still put that configuration - and it works! But maybe it's wrong php.ini or httpd.conf. It usually means that you have used the variable before giving it a value. In this case it is just a warning. If you use "isset" or "empty" to check whether the variable has a value before using it (or specifically assigning it a value) then the warning does not occur.
HTH Chris

« previous php.install (#13594) next »