ID: 14733 Updated by: [EMAIL PROTECTED] -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: HTTP related Operating System: NT4sp6a PHP Version: 4.1.0 New Comment:
[EMAIL PROTECTED] - It sounds like your problem was solved. :) [EMAIL PROTECTED] - If you are still experiencing this problem, please try this test for me (in case you don't have ethereal as Daniel suggested). This will help me determine where the problem lies, since there are many pieces of software involved. 1) Create a simple sample script that has this problem. If your problem is identical to the original submitter's, it sounds like you just need one line of code with a call to the header function and use an HTTP Location header as his example shows. 2) telnet to your web site on port 80 (If your web site is http://www.blah.com/ then telnet www.blah.com 80) 3) Manually type in an HTTP GET request. Here is an example (this is the smallest request you can get away with): GET /path/to/script.php HTTP/1.1 Host: blah.com 4) Post the exact output you receive back to this list. Thanks for helping! Chris Shiflett Previous Comments: ------------------------------------------------------------------------ [2002-01-12 11:30:08] [EMAIL PROTECTED] this problem also exists on W2K IIS 5, Using PHP 4.0.6 CGI ------------------------------------------------------------------------ [2002-01-08 13:58:11] [EMAIL PROTECTED] the problem was O'Reilly Website Pro v3.0. After upgrading to Deerfield Website Pro 3.1.11, the header() function now works fine! ------------------------------------------------------------------------ [2001-12-30 14:22:51] [EMAIL PROTECTED] could you please dump your webserver's output with ethereal? http://www.ethereal.com/ thanks ------------------------------------------------------------------------ [2001-12-30 14:07:01] [EMAIL PROTECTED] The webserver is Website Pro 3. ------------------------------------------------------------------------ [2001-12-28 08:31:45] [EMAIL PROTECTED] header() function doesn't redirect the browser to new location. Example test.php file: <? header("Location: http://www.qnet.fi"); ?> Nothing happens when opening this file with IE 5.5sp2, IE6, etc. There are no extra spaces, LF's, CR's. PHP.INI has "output_buffering = on". NT4sp6a, PHP4.1.0 (ISAPI). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14733&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php