You are here: Re: buffering code with db connection « PHP SQL « IT news, forums, messages
Re: buffering code with db connection

Posted by Janwillem Borleffs on 10/22/05 22:58

Raj wrote:
> I have a db connect script running in an include file with buffering.
> Does anyone know if there are restrictions for this? It seems to work
> with a smaller amount of code to be buffered. Is there some sort of
> limit for buffering (i.e using ob_start () ... ob_end_flush()). The
> thing is, everything else seems to work. Why does the db connect
> script not work?
>

When your code is structured like:

ob_start();
// DB and related stuff
ob_end_flush();

I see no reason why it shouldn't work. Check your error level and produced
messages (if any) and post a couple of lines of relevant code if you need
more help.


JW

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация