Hi all,
First of all, I know absolutely nothing about PHP. I hired someone to create some pages for me that are basically a selection form that looks at contents of multiple directories, and then based on the users selection, creates an output page with links to each file fitting the criteria. Here's the problem.... the guy has created the scripts using PHP and apparently he is using PHP 4, MySQL 4 and Apache. However, I am running Win2K, IIS, PHP5 and MySQL5.
At first the search page was giving me weird "notices" which he said he wasn't getting on Apache.
Notice: Use of undefined constant group_code - assumed 'group_code' in D:\Inetpub\Data\selection\main.php on line 76
After digging around myself, I found that "group_code" didn't have any single quotes around it. He indicated that it shouldn't need quotes. Once I put in the quotes myself, that error went away.
So on the results page, I am getting an error when there is one (and only one) type of report selected.
The error is:
Notice: Undefined variable: data_file in D:\Inetpub\Data\selection\search.php on line 67
The coder claims that it is due to a conflict with PHP and IIS, basically that I haven't configured it properly. That he's not getting the error on Apache.
Since I was able to figure out that the quotes were needed on the 1st error, I feel that there is an actual error in the code and not PHP/IIS.
Could someone help me figure out what the problem might be. I have questioned him multiple times and am getting the same answer, but since I am clueless about PHP, I don't know what to do.
Thanks in advance for your help!