Re: [PHP] uh, oh errors?

2002-05-16 Thread Rasmus Lerdorf
What is on line 6 of the db.php file? Do you have a stray carriage return at the end of this file? On Thu, 16 May 2002, Jas wrote: Not sure how to resolve this, looked at php.net for the headers available and this is the error I am recieving: Warning: Cannot add header information -

RE: [PHP] uh, oh errors?

2002-05-16 Thread Patrick Lynch
Hi Jas, I normally output can output a JaveScript document.location.href=XXX.XXX; command Plan B is to do your processing before there is any output and then decide whether or not to do a redirect using the header() function. Best Regards, Patrick Lynch. Optip Ltd, Internet Mobile

Re: [PHP] uh, oh errors?

2002-05-16 Thread Jas
That worked, I had about 3 blank lines trailing my ?. Thanks a ton! Jas Rasmus Lerdorf [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What is on line 6 of the db.php file? Do you have a stray carriage return at the end of this file? On Thu, 16 May 2002, Jas

Re: [PHP] uh, oh errors?

2002-05-16 Thread Kevin Stone
DOH! I retract that statement about Line 11.. I saw it and immediately thought you were printing out that line, clearly you're not. But the rest of my point is still valid, and Rasmus pointed out the true location of the error. Anyway glad to hear you got the problem solved so quickly. -

RE: [PHP] uh, oh errors?

2002-05-16 Thread Sysadmin
What are some benefits to using output buffering versus just letting it generate as it goes? -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 1:24 PM To: PHP-general Subject: Fw: [PHP] uh, oh errors? Don't feel bad about this. This is

RE: [PHP] uh, oh errors?

2002-05-16 Thread Jerome Houston
an HTML page. -jerome Original Message Follows From: [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] uh, oh errors? Date: Thu, 16 May 2002 13:43:30 -0400 What are some benefits to using output buffering versus just letting it generate as it goes? -Original

Re: [PHP] uh, oh errors?

2002-05-16 Thread Robert Cummings
[EMAIL PROTECTED] wrote: What are some benefits to using output buffering versus just letting it generate as it goes? Pros: - headers can be added at any time - buffer content can be post processed (gz compression) (xslt) - if an error occurs can avoid serving half a document Cons: -