Reply to Re: !Need advice from other PHP developers.

Your name:

Reply:


Posted by Erwin Moller on 02/05/07 12:04

J.O. Aho wrote:

> Erwin Moller wrote:
>
>>> 1. Are there better ways to manage connections and easier data retrieval
>>> to ensure performance of the site under heavy load?
>>
>> PHP recycles its connection behind your back.
>> If scriptA.php connects to a database, a connection is build based on the
>> login-credentials (host, database, username, password, etc).
>>
>> If scriptB.php, scriptC.php, etc, use the same logincredentials, which is
>> almost always the case in webdriven databases, you'll find that they do
>> NOT need the connection/authentication overhead that scriptA.pp needed.
>
> That depends on which connect function you use, *_connect or *_pconnect.
>

True, I am talking about pconnect, but didn't say so anywhere, sloppy. :-/

Regards,
Erwin Moller

[Back to original 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

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