From: tomas dot marklund at datortek dot orebro dot se
Operating system: WinXP
PHP version: 4.3.1
PHP Bug Type: IIS related
Bug description: Header Location error
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 bug report at http://bugs.php.net/?id=23050&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23050&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23050&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23050&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23050&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23050&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23050&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23050&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23050&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23050&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23050&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23050&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23050&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23050&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23050&r=gnused