In LAMP applications, the connection to the database is usually only as long as the Web server takes to process the request.
在LAMP应用程序中,连接数据库的时间通常就是Web服务器处理请求所花费的时间。
This is probably because a PHP installation sits on a Web server (Apache, for example) and often has a connection to an external database (MySQL, for example).
这也许是因为PHP是安装在Web服务器(例如apache)上的,而且常常需要连接到外部数据库(例如MySQL)。
When a zip code is entered into the search field, a request is passed to the Web server, which USES a PHP ODBC connection to the backend Informix database.
当向搜索字段输入某一个邮政编码后,一个请求就传向一个使用PHP ODBC与后台Informix数据库连接的Web服务器。
应用推荐