[PHP] Fixed! Re: [PHP] headers showing up in browser

2002-01-11 Thread Mark

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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] headers showing up in browser

2002-01-10 Thread Mark

lets say I have a page that contains just this code:


the output I get is:
Location: /myfile.html Content-type: text/html

- Mark

On Thu, 10 Jan 2002 14:03:26 -0600, Rick Emery wrote:
>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 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 contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] headers showing up in browser

2002-01-10 Thread Mark

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 with apache and php were exactly the same so I don't understand
why I'm suddenly having this problem.

thanks,
- Mark

>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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] headers showing up in browser

2002-01-10 Thread Rick Emery

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 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 contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] headers showing up in browser

2002-01-10 Thread mike cullerton

#!/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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]