Page 1 of 1

CGI Error

Posted: Fri Jul 05, 2002 5:50 am
by saadatshah
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


can nayone tell me y php is giving this message.....

Posted: Fri Jul 05, 2002 5:55 am
by martin
Can you show the first couple lines of code from the script?

Posted: Fri Jul 05, 2002 6:12 am
by saadatshah
Thx...problem is solved ...i dont know how...but solved...can u give me any idea abt this error...or u can send me some code which give this error...so that it help me .....thx

Posted: Fri Jul 05, 2002 7:09 am
by twigletmac
It's a file not found error - pretty much a 404 error. I've seen it happen on IIS and the way to fix it on that is to configure IIS to check to see that a php file exists before it trys to run it. That way you will get proper 404 errors instead of that CGI Error.

Mac

Problem with this

Posted: Tue Sep 10, 2002 6:33 pm
by NoReason
header("Location: URL");

Thats when I get the error.. and i did not get this error till I upgraded my version of PHP.. I am runnin php 4.2.3, and current version of IIS 5.0

PHPpage sends to app page ----> app page proccess data
<---- App page redirects back previous page,
With new data.

Posted: Wed Sep 11, 2002 2:14 am
by twigletmac
Why bump a whole bunch of threads instead of just starting one new thread saying that none of the other information you found helped?

Mac