php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "directory listings"

Are there any best practices for configuring a web server to handle directory listings instead of using PHP?

When configuring a web server to handle directory listings instead of using PHP, it is important to ensure that the server has directory listing enabl...

How can PHP scripts manage directory listings on network drives without requiring users to input their credentials?

PHP scripts can manage directory listings on network drives by using a service account that has the necessary permissions to access the network drive....

How can PHP be used to display directory listings and subdirectories on a website?

To display directory listings and subdirectories on a website using PHP, you can use the `scandir()` function to scan the directory and retrieve a lis...

How can PHP scripts be optimized to exclude certain files, like index.php, from directory listings?

To optimize PHP scripts to exclude certain files, like index.php, from directory listings, you can use the following code snippet. By checking the fil...

How can preg_match_all be utilized to extract image counts from directory listings in PHP?

To extract image counts from directory listings in PHP, we can use the preg_match_all function to search for image file extensions in the directory li...

Showing 11 to 15 of 9489 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1897 1898 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.