It sucks, but I have to get this working on an IIS machine. 
I have a php script that outputs the pdf files in a directory. It works fine on an Apache server, but blows chunks on IIS with PHP 4.3.10
This works
<? require_once('includes/dir.php'); ?>
This works<a href="includes/dir.php?dirname=../documents/reports/">Link</a>
This doesn't work
<? require_once('includes/dir.php?dirname=../documents/reports/'); ?>
This is the error
Warning: main(includes/dir.php?dirname=../documents/reports/): failed to open stream: No such file or directory in D:\Production\Site\publications.php on line 52
Fatal error: main(): Failed opening required 'includes/dir.php?dirname=../documents/reports/' (include_path='.;C:\php4\includes\pear;D:\ test\;') in D:\Production\Site\publications.php on line 52
Help me Obi-Wan, your my only hope....

I have a php script that outputs the pdf files in a directory. It works fine on an Apache server, but blows chunks on IIS with PHP 4.3.10
This works
<? require_once('includes/dir.php'); ?>
This works<a href="includes/dir.php?dirname=../documents/reports/">Link</a>
This doesn't work
<? require_once('includes/dir.php?dirname=../documents/reports/'); ?>
This is the error
Warning: main(includes/dir.php?dirname=../documents/reports/): failed to open stream: No such file or directory in D:\Production\Site\publications.php on line 52
Fatal error: main(): Failed opening required 'includes/dir.php?dirname=../documents/reports/' (include_path='.;C:\php4\includes\pear;D:\ test\;') in D:\Production\Site\publications.php on line 52
Help me Obi-Wan, your my only hope....