Redirection problems
| From: | Olafur Jakobsson | Date: | Sun, 29 Jul 2001 10:35:48 +0000 |
| Subject: | Redirection problems | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8547@lists.php.net to get a copy of this message | ||
I have put an Apache/mySQL/linux PHP application on a WebSite/mySQL/WinNT box that has v 4.0.6
of PHP installed as ISAPI.
All went well with this rather simple application, except that redirection by header("Location: address");
does not work. A typical error msg is 'Warning: Cannot add header information - headers already sent by
(output started at D:\webroot\forum\htdocs\php\jobb\test.php:8) in
D:\webroot\forum\htdocs\php\jobb\test.php on line 10'.
Both Netscape and IE behave similarly so it seems to be a server issue in not redirecting properly.
Is this a specific WebSite issue (I understand that there are some unresolved problems), i.e. an
incompatibility compared to Apache?
TIA for any help in getting this to work poroperly.
Regards
Olafur
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp