Can someone help me with this problem?
In a site we are building we require registration, and everything worked fine until yesterday when I began to receive the following error after trying to register as a new user:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
but there are no headers!
and the most strange thing is that this error doesn't appear everytime, is more like random and it appears in both IE and NS.
The platform is Win2K and we are using PHP 3.011 + IIS (I know, i know... i should use Apache)
The code to we are using is:
$query = "insert into table (Nombre, Nick, email, Direccion, pass, region, edocta, post) values '$nombre','$nick','$email','$direccion','$password',$region, 0, 0)";
$result = mssql_query($query, $ident);
if ($result) {
header("Location: http://xxx.xxx.xxx.xxx/page.php3");
exit;
} else {
echo "error al agregar los datos - intenta de nuevo";
}
I guess is not PHP fault because the validation of the data entered in the form is done using PHP and it works as it should.
Carlos E. Mendoza