Jump to content

PHP headers come up with error and dont work using iis server


GrayFox12

Recommended Posts

Hey guys my headers for handling my site will not work, they work when using apache but now using iis they come up with the error:

 

CGI ERROR

 

The specified CGI application misbehaved by not returning a complete set of HTTP headers.

 

I dont know what this means please help

 

Cheers

may be useful (but i don't know)

 

Errors may occur when you run CGI applications on a fast multi-processor computer that is running IIS 5.0 and IIS 6.0

http://support.microsoft.com/default.aspx?scid=kb;EN-US;884764

 

OR

Try creating the "\Temp" folder in your root directory and share access to all (guest) users. (its used for caching.. so i hear)

Look at the ending "quotes"

header ('Location: http://localhost:82/SLR/index.php?option=p&id='.$id.'');

 

try changing them

header ('Location: http://localhost:82/SLR/index.php?option=p&id='.$id) ;

 

why are you concatenating that last quote symbol (") ? i see no reason for it to be there based on this little snippet. Apache may have ignored it, but IIS is... not as smart.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.