Sidewinder | Please use [php], [code] and [quote] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted.
Hi, ok so I have seen a lot of forums with this error and can't seem to find one that has a solution to it. Anyhow I came up with a simple example of a site that would trigger this error.
There error itself is: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
The site where you can find this is error
(if this goes straight to the error open the page in IE)
here is the code I used.
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>error</title>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
This is a simple example of the
<h1>CGI Error</h1>
<p>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:</p>
<p> </p><?php
$thecat=$_GET['cat'];
if($thecat == ""){$thecat = 'Select Category';}
?>
<form name="form1" id="form1">
<select name="menu1" onchange="MM_jumpMenu('parent',this,0)">
<option value="/error.php?cat=One">One</option>
<option value="/error.php?cat=Two">Two</option>
<option selected="selected"><?php echo $thecat ?></option>
</select>
</form>
<p> </p>
</body>
</html>
I believe this has something to do with getting the value from the URL. Anyone know how to fix this problem?
Sidewinder | Please use [php], [code] and [quote] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted.


LinkBack URL
About LinkBacks




Reply With Quote





Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum