function header don't work
| From: | (Rolf Stoll) | Date: | Sat, 26 Feb 2000 18:23:00 +0000 |
| Subject: | function header don't work | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11052@lists.php.net to get a copy of this message | ||
Hello,
I have a problem with PHP4-beta4pl1 on Win98II with Apache 1.3.9
The function header()don't work correct. The following code
<?
header("Location: http://www.leierer.de");
?>
produces only the this output:
X-Powered-By: PHP/4.0b4pl1 Location: http://www.leierer.de
Content-Type:
text/html, but don't redirect to the site which is specified by
"Location:http://..."
PHP4.0-b03 works fine with this code, so I can assume, that my
Apache-configuration is correct.
With Linux, PHP/4.0b4pl1 and Apache 1.3.11, I have no problem with the
header-function, but for some reason I have to work under Win98 with
Apache as well.
Many thanks for help
Rolf