php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "external connections"

What are the best practices for handling database connections in PHP scripts to avoid redundant connections?

To avoid redundant database connections in PHP scripts, it is recommended to use a singleton pattern to create a single instance of the database conne...

What are some best practices for managing database connections in PHP?

One best practice for managing database connections in PHP is to use a connection pool to reuse connections instead of creating a new one for each req...

Is using mysql_pconnect() recommended for database connections in PHP, and why?

Using mysql_pconnect() is not recommended for database connections in PHP because persistent connections can lead to performance issues, especially wh...

What are the advantages and disadvantages of closing database connections with MySQLi?

When working with MySQLi in PHP, it is important to properly close database connections to avoid potential issues such as running out of available con...

Are there any best practices to follow when implementing persistent connections in PHP?

When implementing persistent connections in PHP, it is important to properly manage the connections to prevent resource exhaustion and ensure efficien...

Showing 56 to 60 of 7640 results

‹ 1 2 ... 9 10 11 12 13 14 15 ... 1527 1528 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.