Jump to content

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


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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.