[PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Jay Blanchard
Howdy group! I am outputting a rather large data set to an Excel spreadsheet from a MySQL database on a healthy FreeBSD server. The Apache server is on the same server as the database. The code looks like this ? /* ** SWB CABS Project ** USOC Charges Detail ** Report By Criteria -

Re: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Kevin Stone
] Output Buffering - Am I using it correctly? Howdy group! I am outputting a rather large data set to an Excel spreadsheet from a MySQL database on a healthy FreeBSD server. The Apache server is on the same server as the database. The code looks like this ? /* ** SWB CABS Project ** USOC

RE: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Jay Blanchard
[snip] Output buffering is doing nothing for you in the given example. It does not reduce client side resources... if anything it increases the usage serverside resources. Perhaps you are thinking of gz compression? You might use a combination of ob* functions and gz* functions to minimize

RE: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Beau Hartshorne
I guess that this means I am out of luck here. Anyone know a cleaner method for delivering spreadsheets? Can you get the server to write it to a file, and then let the client download the file normally? Beau -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Jay Blanchard
[snip] I guess that this means I am out of luck here. Anyone know a cleaner method for delivering spreadsheets? Can you get the server to write it to a file, and then let the client download the file normally? [/snip] Believe me, if I could have taken that way out I would have done it. I am

RE: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Jay Blanchard
[snip] I am researching some classes [/snip] OK. One of the silly classes fails, saying -- Fatal error: No parent class available in this context in biff.php on line 52 line 52 is -- 49 function BiffWriter() 50 { 51 error_reporting (E_ALL); 52

RE: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Beau Hartshorne
Can you get the server to write it to a file, and then let the client download the file normally? [/snip] Believe me, if I could have taken that way out I would have done it. I am researching some classes, but they all seem to take just as long to create the spreadsheet. What about

RE: [PHP] Output Buffering - Am I using it correctly?

2002-09-25 Thread Jay Blanchard
[snip] OK. One of the silly classes fails, saying -- Fatal error: No parent class available in this context in biff.php on line 52 line 52 is -- 49 function BiffWriter() 50 { 51 error_reporting (E_ALL); 52 parent::BiffBase(); 53