Have been running a server site with PHP 4.1.2. I just went to install a version of PHp on my Win 2K machine using IIS for development without a net connection. Since all they had on the site was version 4.2.3 I installed that.
However when I know run the site I have (MySQL is set up and running properly on my machine. I get a few weird errors. In a global file I have this simple code. $curdir = $PHP_SELF; It gives me the error Notice: Undefined variable: PHP_SELF in C:\Websites\www.mkp.org\nocal\includes\globals.inc on line 76 Since when is $PHP_SELF an undefined variable? Do I have to declare explicitly now? Also Have created the following variable from a DB query. $gl_tshirt = $cent['tshirt']; // Does the center have a page for t shirts or not? The value in the DB should just either be yes or no. I get this error with regards to that. Notice: Undefined index: tshirt in C:\Websites\www.mkp.org\nocal\includes\globals.inc on line 47 What has happened here that I need to know about? Thanx Phillip -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php