Re: [PHP] Headers already sent

2011-11-11 Thread Marc Guay
> Thanks. That was the problem. I spent a day trying to debug this. Smash head against wall first, ask questions later. That's my methodology as well. :) Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Headers already sent

2011-11-10 Thread Kranthi Krishna
Hi, > Perhaps your server is configured to have output buffering enabled by default Thanks. That was the problem. I spent a day trying to debug this. Kranthi. http://goo.gl/e6t3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Headers already sent

2011-11-10 Thread Larry Garfield
Perhaps your server is configured to have output buffering enabled by default? Check php.ini / phpinfo(). --Larry Garfield On 11/11/2011 12:12 AM, Kranthi Krishna wrote: Hi all, I am missing something pretty obvious here. The PHP Manual says "Remember that header() must be called before any

Re: [PHP] headers already sent.

2006-04-08 Thread Stephen Lake
There is no real way of knowing if output is going to be sent before a header or not, unless its a very simple page. Your best bet is to investigate the output buffering functions here: http://www.php.net/manual/en/ref.outcontrol.php HTH Steve ""P. Guethlein"" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP] headers already sent.

2006-04-08 Thread P. Guethlein
At 10:30 PM 04/07/2006, you wrote: Comment inline: Thanks, I just found that out after, well I don't want to say how long it took . Is that just the way things are in PHP or is there a command / configuration to make something like this more obvious? Hmmm. maybe the IDE I'm using? U

Re: [PHP] headers already sent.

2006-04-07 Thread Chris
Comment inline: P. Guethlein wrote: (Know enough to be dangerous beginner...) Routine for a web login asked user name and password. User Name is entered correctly. Password is Incorrect. Next Try. User Name is enter correctly. Password is Entered Correctly. PHP notifies me on the html out

[PHP] headers already sent.

2006-04-07 Thread P. Guethlein
(Know enough to be dangerous beginner...) Routine for a web login asked user name and password. User Name is entered correctly. Password is Incorrect. Next Try. User Name is enter correctly. Password is Entered Correctly. PHP notifies me on the html output that I am logged in. However, an

RE: [PHP] Headers already sent error

2005-02-03 Thread yangshiqi
Pls Make sure that outside your tags, these is no any blankspace or sth else. Best regards, Yang Shiqi -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 3:44 PM To: [php] PHP General List Subject: Re: [PHP] Headers already sent error Tim

Re: [PHP] Headers already sent error

2005-02-02 Thread Chris
Tim Burgan wrote: Hello, I'm receiving an error "Cannot modify header information - headers already sent by XXX". In my php, I have a heap of code, then use header("Location: blah.php"); to redirect the user. I get this error on the webhost, but not on my local host. I've searched and found th

Re: [PHP] Headers already sent error

2005-02-02 Thread Robby Russell
On Thu, 2005-02-03 at 12:59 +1030, Tim Burgan wrote: > Hello, > > > I'm receiving an error "Cannot modify header information - headers > already sent by XXX". > > In my php, I have a heap of code, then use header("Location: blah.php"); > to redirect the user. I get this error on the webhost, b

[PHP] Headers already sent error

2005-02-02 Thread Tim Burgan
Hello, I'm receiving an error "Cannot modify header information - headers already sent by XXX". In my php, I have a heap of code, then use header("Location: blah.php"); to redirect the user. I get this error on the webhost, but not on my local host. I've searched and found that this can be cau

RE: [PHP] headers already sent and cookie problem

2003-07-18 Thread frederik feys
alled the function and assigned it to a variable and... gone with the wind! Thanks again Mike! Regards Fred -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: vrijdag 18 juli 2003 18:20 To: 'frederik feys '; '[EMAIL PROTECTED] ' Subject: RE: [

RE: [PHP] headers already sent and cookie problem

2003-07-18 Thread Ford, Mike [LSS]
-Original Message- From: frederik feys To: 'Ford, Mike [LSS]'; [EMAIL PROTECTED] Here's the URL: http://www.aurelis.org/store/cart.txt and the get_cartID: http://www.aurelis.org/store/includes/functions/get_cartID.txt -- I've only had time for a quic

RE: [PHP] headers already sent and cookie problem

2003-07-17 Thread frederik feys
20 To: 'frederik feys'; [EMAIL PROTECTED] Subject: RE: [PHP] headers already sent and cookie problem > -Original Message- > From: frederik feys [mailto:[EMAIL PROTECTED] > Sent: 16 July 2003 10:21 > > One nasty thing to debug is that the error only shows up from time

RE: [PHP] headers already sent and cookie problem

2003-07-16 Thread Ford, Mike [LSS]
> -Original Message- > From: frederik feys [mailto:[EMAIL PROTECTED] > Sent: 16 July 2003 10:21 > > One nasty thing to debug is that the error only shows up from time to > time. > So now everything seems OK. > > What do i have now? > I start my code with session_start > Then include some

RE: [PHP] headers already sent and cookie problem

2003-07-16 Thread frederik feys
of text, sorry for that. But I still don't have the clue. Maybe you like to see my code? Any help welcome! Fred -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: dinsdag 15 juli 2003 11:36 To: 'frederik feys'; [EMAIL PROTECTED] Subject: RE: [PHP] h

RE: [PHP] headers already sent and cookie problem

2003-07-15 Thread Ford, Mike [LSS]
> -Original Message- > From: frederik feys [mailto:[EMAIL PROTECTED] > Sent: 15 July 2003 09:45 > > This is what i get: > "Warning: Cannot add header information - headers already > sent by (output started at /home/u/r/html/store/cart.php:188) > in /home/u/r/html/store/includes/function

Re: [PHP] headers already sent and cookie problem

2003-07-15 Thread Ryan Gibson
You cannot send any page information before you send headers (ie setting a cookie), that means there should be no html before the php that sets the cookie, also any function that are called before you set the cookie cannot output to the browser. Ry On 15/7/03 9:45 am, "frederik feys" <[EMAIL PRO

[PHP] headers already sent and cookie problem

2003-07-15 Thread frederik feys
Hi all,   This is what i get: “Warning: Cannot add header information - headers already sent by (output started at /home/u/r/html/store/cart.php:188) in /home/u/r/html/store/includes/functions/get_cartID.php on line 14”   I know that the problem is the reading of the cookie and then af

[PHP] headers already sent-cookie-ob_flush()

2003-07-15 Thread frederik feys
Hi all,   This is what i get: “Warning: Cannot add header information - headers already sent by (output started at /home/u/r/html/store/cart.php:188) in /home/u/r/html/store/includes/functions/get_cartID.php on line 14”   I know that the problem is the reading of the cookie and then af

[PHP] Re: php headers already sent error.

2003-02-06 Thread Justin Garrett
http://www.php.net/manual/en/faq.using.php#faq.using.headers-sent Justin Garrett "Chris Winters" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Im SO CLOSE! > > Welll to start I had everything running FINE (MySQL, Apache, and PHP) until > I installed STUPID Ze

[PHP] php headers already sent error.

2003-02-06 Thread Chris Winters
Im SO CLOSE! Welll to start I had everything running FINE (MySQL, Apache, and PHP) until I installed STUPID Zend Studio for PHP. After their 30 day trial expired, I uninstalled it and everything just went downhill. After re installing everything, I have these errors left over. Now the code is alr

[PHP] headers already sent

2002-09-12 Thread Gian Michele
I'm doing a little form: In the first page i have the form to insert datas,then redirect the control to a script that check if the filds are correct.If they are correct redirect the output to a prospect else to the first page.The problem is that it gives an error like this "Warning: Cannot send

[PHP] Headers already sent (Sometimes)

2002-07-23 Thread Jacob Dorman
Im getting Warnings about headers being already sent. But not on my local web server Im sending the headers (to try and make the page not cache) before anything is echoed to the browser. I set the error reporting to E_ALL at the top of the script, turning error reporting off suppresses the warnin

Re: [PHP] Headers already sent....

2001-08-30 Thread Don Read
On 30-Aug-2001 Nic Skitt wrote: > Thanks Andrey but that still hasnt fixed it. > > The full error I am getting is: > > Cannot add header information - headers already sent by (output started at > c:\apache\apache\htdocs\client-secure.php:11) in > c:\apache\apache\htdocs\client-secure.php on lin

Re: [PHP] Headers already sent....

2001-08-30 Thread Nic Skitt
Thanks Andrey but that still hasnt fixed it. The full error I am getting is: Cannot add header information - headers already sent by (output started at c:\apache\apache\htdocs\client-secure.php:11) in c:\apache\apache\htdocs\client-secure.php on line 18 Line 11 refers to: $uid=$HTTP_SESSION_VA

Re: [PHP] Headers already sent....

2001-08-30 Thread Nic Skitt
ge - > From: Nic Skitt <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, August 29, 2001 3:20 PM > Subject: [PHP] Headers already sent > > > > Hi all, > > > > I have a bit of a confusing one here. I have two enviroments: > > >

Re: [PHP] Headers already sent....

2001-08-30 Thread sagar
9, 2001 3:20 PM Subject: [PHP] Headers already sent > Hi all, > > I have a bit of a confusing one here. I have two enviroments: > > 1) Live server > -PHP Version 4.0.3pl1 - Nov 21 2000 > -Apache/1.3.12 Cobalt (Unix) > -Linux > > 2) Local development > -PHP Vers

[PHP] Headers already sent....

2001-08-30 Thread Nic Skitt
Hi all, I have a bit of a confusing one here. I have two enviroments: 1) Live server -PHP Version 4.0.3pl1 - Nov 21 2000 -Apache/1.3.12 Cobalt (Unix) -Linux 2) Local development -PHP Version 4.0.6 -Apache/1.3.20 (Win32) -Windows 2000 Pro Now on the live server everything works fine but on my d

Re: [PHP] Headers already sent....

2001-08-30 Thread Andrey Hristov
See if there is any symbol before http://www.icygen.com 99% - Original Message - From: "Nic Skitt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 29, 2001 12:50 PM Subject: [PHP] Headers already sent > Hi all, > > I have a bit

[PHP] Headers already sent....

2001-08-30 Thread Nic Skitt
Hi all, I have a bit of a confusing one here. I have two enviroments: 1) Live server -PHP Version 4.0.3pl1 - Nov 21 2000 -Apache/1.3.12 Cobalt (Unix) -Linux 2) Local development -PHP Version 4.0.6 -Apache/1.3.20 (Win32) -Windows 2000 Pro Now on the live server everything works fine but on my d