I just recently installed IIS 5.0, PHP 4.2.1. on my Windows2KPro computer so that I could be able to change my site without uploading files constantly. However, I seem to have a problem with PHP, because even though the phpinfo.php works fine, it gives me all sorts of undefined variable errors even in the process of defining variables.
in my index.php I included "header.php" which works fine but the first line of header.php is:
1 <?
2 if ($section == null){
3 $section = 0;
4 }
and I immediately recieve an undefined variable error for section in line 2.
I was guessing it would be a problem with my php.ini file, but nothing has worked, which is kind of funny cause it works fine on my friends computer running WinXP with the same PHP ver. Does anybody have any clues?