Ask a Question related to PHP Development, Design and Development.
-
jeff at mos dot org #1
#25160 [NEW]: Extra characters in header under certain conditions
From: jeff at mos dot org
Operating system: Windows 2000
PHP version: 4.3.2
PHP Bug Type: IIS related
Bug description: Extra characters in header under certain conditions
Description:
------------
I'm also using the FastCGI ISAPI dll from here:
[url]http://www.caraveo.com/fastcgi/[/url]
The problem I was seeing was when redirecting from an https page to any
other page by means of the Location: header in Apple's Safari browser. The
browser would hang.
I used wget to look at the headers and got this:
1 HTTP/1.1 302 Moved
2 Server: Microsoft-IIS/5.0
3 Date: Tue, 19 Aug 2003 22:29:13 GMT
4 (null)
5 Content-type: text/html
6 X-Powered-By: PHP/4.3.2
7 Location: [url]http://ecomdev.mos.org/?action=showorder[/url]
Note the (null) line. Is php adding a line feed, carriage return, or some
other character?
I set 'cgi.rfc2616_headers = 0' in php.ini, and the mystery (null) went
away. I had originally set it to '1' because the comments in php.ini said
to if using IIS.
This problem did not occur with the ISAPI module or plain CGI, with either
setting of 'cgi.rfc2616_headers'.
Changing the 'cgi.rfc2616_headers' setting has solved my Safari hanging
problem.
--
Edit bug report at [url]http://bugs.php.net/?id=25160&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25160&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25160&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25160&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25160&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25160&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25160&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25160&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25160&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25160&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25160&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25160&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25160&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25160&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25160&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25160&r=gnused[/url]
jeff at mos dot org Guest
-
Help - Extra Characters
:confused; Hi. I'm a painfully inexperienced person that has recently been handed the task of creating a database and a web interface to work... -
extra datagrid header...
I was wondering if there is a way I can add an extra header to a datagrid? I found this solution on the internet - but it seems quite old and... -
extra characters in XML export
Every time I export to XML, my line breaks turn into square shaped characters in the XML. When I open this up in a text editor it translates these... -
ReadLine extra characters "|"
I'm trying to read from a text file on a PC and when I use ReadLine I get extra "|" characters at the beginning (and sometimes the end) of lines. ... -
LWP Extra Header Lines
Hi, Does anyone know how to add extra request header lines with LWP? I've seen this way but thought I'd see if there's a 'better' way: my...



Reply With Quote

