Re: [PHP] Problem...header already sent by

2002-02-05 Thread Ryan F. Bayhonan
Hello again Peter, I describe my reply below. > I must run it as Apache module. Can someone tell me how do I change > the setting to run as an APACHE module instead? I'll be replying to this question in a Windows Operating System setting. You have 2 option in installing PHP as in Win OS, eithe

Re: [PHP] Problem...header already sent by

2002-02-05 Thread Peter Ruan
Ryan, I just tried it with my Linux box and I get the authentication box...which is good sign. So it looks like a PHP in MS Windows (the 'fabulous' windows) setting which from the error.log file indicates as well. /** error message listed in error.log **/ [Mon Feb 04 22:36:30 20

Re: [PHP] Problem...header already sent by

2002-02-05 Thread Jason Wong
On Wednesday 06 February 2002 01:52, Peter Ruan wrote: > Hi Jason, > Yeap, I ran 'phpinfo()' Server API=CGI. I look at the manual and you are > right, I must run it as Apache module. Can someone tell me how do I change > the setting to run as an APACHE module instead? Well, you don't change t

Re: [PHP] Problem...header already sent by

2002-02-05 Thread Peter Ruan
Hi Jason, Yeap, I ran 'phpinfo()' Server API=CGI. I look at the manual and you are right, I must run it as Apache module. Can someone tell me how do I change the setting to run as an APACHE module instead? Thanks, -Peter "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Jason Wong
On Tuesday 05 February 2002 15:20, Peter wrote: > Hi Ryan, > Thanks for the examples. Okay, I deleted the other stuff and just put > this code and I get this from > my interpreter? Is this a setting problem? Are you running PHP as a CGI? If so, what you want to do cannot be done. See chapte

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Ryan F. Bayhonan
It will work as expected Peter. So where do we go from here?? Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Peter
gt; > Welcome to the page. > > > > Hope this help you more. > > Until then... > > Ryan F. Bayhonan > > - Original Message - > From: "Peter" <[EMAIL PROTECTED]> > To: "R

RE: [PHP] Problem...header already sent by

2002-02-04 Thread Peter Brown
; [EMAIL PROTECTED] Subject: Re: [PHP] Problem...header already sent by Hello Peter. Good Day. Omitting does not solve the problem. I've experience this problem also before. I found out that the once causing the problem is when any data that has been sent to the client. I have listed some ex

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Ryan F. Bayhonan
t;; <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 2:14 PM Subject: Re: [PHP] Problem...header already sent by > Hi Ryan, > I tried and took the tags out and I still get the same > messaage. Why? > > Thanks, > Peter > > > > Hello Peter. > > > >

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Peter Ruan
Okay, I deleted the other stuff and just put this code and I get this from my interpreter? Is this a setting problem? Thanks, Peter [Mon Feb 04 22:36:30 2002] [error] [client 127.0.0.1] malformed header from script. Bad header=HTTP/1.0 401 Unauthorized: /apache/php/php.exe "Niklas lampén" <[

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Peter Ruan
klas... > There can't be _anything_ before headers. Even a single space and/or > linebreak causes an error. > > > Niklas > > > -Original Message- > From: Peter Ruan [mailto:[EMAIL PROTECTED]] > Sent: 5. helmikuuta 2002 7:42 > To: [EMAIL PROTECTED]; [EMAIL PR

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Peter Run
henticate: Basic realm=\"$blah\""); Header ("HTTP/1.0 401 Unauthorized"); * "Unauthrized" should be "Unauthorized" - missing "o" -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 4:51

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Peter
Hi Ryan, I tried and took the tags out and I still get the same messaage. Why? Thanks, Peter > Hello Peter. > > I discribe my reply below: > > > ** > > Warning: Cannot add header information - headers already sent by (output > > started at C:\apache\htdocs\proj\sport

RE: [PHP] Problem...header already sent by

2002-02-04 Thread Martin Towell
ot;); * "Unauthrized" should be "Unauthorized" - missing "o" -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 4:51 PM To: Php-General Subject: RE: [PHP] Problem...header already sent by There can'

RE: [PHP] Problem...header already sent by

2002-02-04 Thread Niklas Lampén
ready sent by I tried it w/o the tag and I get the BAD Header message. -Peter >From: Jeff Sheltren <[EMAIL PROTECTED]> >To: "Peter Run" <[EMAIL PROTECTED]>,[EMAIL PROTECTED] >Subject: Re: [PHP] Problem...header already sent by >Date: Mon, 04 Feb 2002 21:30:42 -080

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Peter Ruan
I tried it w/o the tag and I get the BAD Header message. -Peter >From: Jeff Sheltren <[EMAIL PROTECTED]> >To: "Peter Run" <[EMAIL PROTECTED]>,[EMAIL PROTECTED] >Subject: Re: [PHP] Problem...header already sent by >Date: Mon, 04 Feb 2002 21:30:42 -0800 >

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Ryan F. Bayhonan
Hello Peter. I discribe my reply below: > ** > Warning: Cannot add header information - headers already sent by (output > started at C:\apache\htdocs\proj\sports\phps\verify.php:2) in > C:\apache\htdocs\proj\sports\phps\verify.php on line 26 > ***

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Jeff Sheltren
You can't send anything before you send headers... the "html" tag is messing you up I believe. Jeff At 08:24 PM 2/4/2002 -0800, Peter Run wrote: >Hi, > I get the warning message (see below), whenever I try anything with >authentication/session with PHP. This is tried under Windows (PHPTriad