Hello!
I have the next problem:
the message "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" is displayed on monitor but only in this case:
- I have: a php file: test.php
- inside test .php is something like that:
<?php ...
$insertSQL = sprintf("INSERT INTO mytable (data, suc, ...",
GetSQLValueString($HTTP_POST_VARS['data'], "date"),
GetSQLValueString($HTTP_POST_VARS['suc'], "text"),.... );
mssql_select_db($mydatabase, $myconnection);
$Result1 = mssql_query($insertSQL, $myconnection) or die(mymssql_error());
- print "<script language=javascript>window.location.replace('test.php ')</script>";
... ?>
- with this line I want to avoid the problem cause by press F5 (the window with Retry and Cancel buttons for resend the information... some persons click Retry and in the database I will have duplicated data)
Atention: the error message appears only sometimes after submit button
I this line * the cause?
I use php 4.3.4 + IIS
Thanks!