ID: 23050
User updated by: tomas dot marklund at datortek dot orebro dot se
Reported By: tomas dot marklund at datortek dot orebro dot se
Status: Bogus
Bug Type: IIS related
Operating System: WinXP
PHP Version: 4.3.1
New Comment:
Ok how to make it work then???
Previous Comments:
------------------------------------------------------------------------
[2003-04-04 11:09:26] [EMAIL PROTECTED]
header("Location:foo.php"); violates the RFC. Not bug in PHP.
------------------------------------------------------------------------
[2003-04-04 07:15:25] tomas dot marklund at datortek dot orebro dot se
I installed a new php4.3.1 on a new IIS5 on a new computer with WinXP
SP1.
And then all my scripts with the
Header("location:index.php") funktion stopt working.
The only error message that i get is:
CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:
Note: It worked before!!
I hope this is no bug! but a error i've made
PHP 4.3.1 installer.zip
MySQL 4.0 (if this matter)
code--
<?$connect = mysql_connect("localhost","secr","secr");
mysql_select_db("daniel" , $connect);
@$result = mysql_query("insert into studier(ar, skola)
values(\"$ar\",\"$skola\")", $connect);
header("Location:index.php");?>
--code
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23050&edit=1