You are here: Re: FastCGI and DB connections / global variables? « PHP Programming Language « IT news, forums, messages
Re: FastCGI and DB connections / global variables?

Posted by Chung Leong on 07/25/06 19:44

Joshua Ruppert wrote:
> When I'm using FastCGI do I need to code differently than I do when
> using regular CGI? Because the PHP.exe processes don't go away do
> global variables stick around from page request to page request,
> creating the need for better managment / pooling of DB connections?
>
> Josh

There is no difference from a programming standpoint. Global variables
are destroyed at the end of each request.

 

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

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