]
List: php-general
Subject: RE: [PHP] headers showing up in browser
From: Mark [EMAIL PROTECTED]
Date: 2002-01-10 20:21:07
[Download message RAW]
lets say I have a page that contains just this code:
?
header(Location: /myfile.html);
?
the output I get is:
Location: /myfile.html
After lots of trial and error I traced the problem back to a missing
browscap.ini, I commented out that line in php.ini and it worked
fine. I guess it was causing php to think the it wasn't dealing with
a browser so it sent the headers differently (or something)
thanks to everyone.
- Mark
--
I've got this problem that won't go away.
The headers are showing up at the top of the page when I run php in
cgi mode. any ideas?
thanks,
- Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
#!/usr/local/bin/php -q
on 1/10/02 12:16 PM, Mark at [EMAIL PROTECTED] wrote:
I've got this problem that won't go away.
The headers are showing up at the top of the page when I run php in
cgi mode. any ideas?
-- mike cullerton
--
PHP General Mailing List (http://www.php.net/)
To
what does your code look like?
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 1:17 PM
To: PHP
Subject: [PHP] headers showing up in browser
I've got this problem that won't go away.
The headers are showing up at the top of the page when I run
On Thu, 10 Jan 2002 12:53:33 -0700, mike cullerton wrote:
#!/usr/local/bin/php -q
I don't think you understood what I meant. I want the headers to get
sent, but they're showing up in the browser as part of the page
content.
I had this working before on a different machine where everything to
do
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 1:17 PM
To: PHP
Subject: [PHP] headers showing up in browser
I've got this problem that won't go away.
The headers are showing up at the top of the page when I run php in
cgi mode. any ideas?
thanks,
- Mark
--
PHP General Mailing List
7 matches
Mail list logo