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