I found I was getting these because I was not putting quotes around certain functions. For example:
$_GET[blah] will tell you that "blah" was an undefined variable. If you do this: $_GET['blah'] (like php.net says...silly me) it works just fine. Other things, like date(M-D-Y) will do the same thing. Use date("M-D-Y"). If I remember correctly, the error message tells you at least what line it is on, possibly the variable too. Good luck tracking down your syntax mistakes! -Dash -----Original Message----- From: Marius Venter [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 02, 2002 9:53 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] notice:undefined variable I installed PHP 4.1 on NT 4 with IIS 4. My client getting many of these error messages when he runs his html form: Notice: Undefined variable: background in D:\inetpub\reservationhouse\formmail.php on line 183 The form was not submitted for the following reasons: I NEED VALID RECIPIENT EMAIL ADDRESS () TO CONTINUE Please use your browser's back button to return to the form and try again. User rights are set correctly and PHP's installation went smooth. I also tested PHP and it seems OK. Anys suggestions? Marius Venter -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php