Unfortunately,
There really isn't a solution to this. It is a documented bug with IIS.
I am sorry, I don't have the exact reference, but you may wish to check
out www.phpbuilder.com... I seem to remember reading discussions on this
subject there.
> Dear Team
>
> I am new to PHP i got this error message when I refresh my page three
time.
> Background: I am running PHP 4.0.5 with IIS 5
>
> CGI Error
> The specified CGI application misbehaved by not returning a complete set
of
> HTTP headers. The headers it did return are:
>
>
> This is my code:
>
> <?
> // Get content from directory.
> function getdirfiles($dir_name){
>
> $dir_handle = @opendir($dir_name);
>
> while ($file=readdir($dir_handle)){
> echo $file . "<br>";
> }
>
> closedir($dir_handle);
> }
> getdirfiles("images");
> ?>
>
> Please guide me
> Thanks
>