How do I enable output buffering for php and install Pear DB

Status
Not open for further replies.


output buffering is both fun and easy.

Start Output Buffering

Code:
ob_start();


END output buffering

Code:
ob_end_flush();

Those are the two main ones, if you need more flexability look at the resources BlueMendicant pointed out or try php manual.
 
thanks for the help.but i meant enable output buffering for the entire server.. is that possible? let me know. thanks
 
Enable output buffering for an entire server? So noone sees the content until everybody hs called the page? ;)

Seriously, you can use auto_prepend_file and auto_append_file in a .htaccess file to put code at the start and end of any page. That could include any output buffering you might want.
 
Enable output buffering for an entire server? So noone sees the content until everybody hs called the page? ;)

Seriously, you can use auto_prepend_file and auto_append_file in a .htaccess file to put code at the start and end of any page. That could include any output buffering you might want.


i bought a script and it wouldnt install so i emailed support and they said i need to enable output buffering.. i did that in my php.ini file yet same error..
 
Try emailing support again. We have very little idea about what you are trying to accomplish, and we don't know what you are working with.
 
Status
Not open for further replies.