I am the process of changing web servers - going from a WinNT 4.0 box to a new Win2k Server box with IIS 5.0. I had PHP 4.0.6 installed on the old so I went ahead and upgraded and installed 4.2.2 on the new. Installation was, for the most part, successful. I am however having one problem that is bugging the heck out of me.
I design alot of pages to use a single index.php that loads content using includes based on a "zone" variable in the url (i.e. "www.mysite.com/index.php?zone=page1"). I am using a previously designed site from the old server to test PHP on the new server - the problem is that PHP will not recognize the "zone" variable when passed thru the URL.
For example, the index.php page loads fine with the appropriate content from the include - because the PHP code says to load a file "home_incl.txt" when the "zone" variable is not set. So that part is working fine. However, when I click a link to another "zone" where the url sets the "zone" variable, it is not passed and the same content loads (I believe b/c it is not recognizing that the "zone" variable has been set).
Can anyone advise on why the url variable is not being recognized? The include function IS working if I manually set the variable in the page source code. So I know the include function is working and it is recognizing variables as long as they are set in the source code. Any help would be appreciated. I can provide more info if necessary. Thanks.
Brian