php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "folder name"

What is the best way to output file names from a folder in a select dropdown using PHP?

To output file names from a folder in a select dropdown using PHP, you can use the glob() function to retrieve an array of file names within the folde...

How can I handle errors or 404 responses when attempting to automatically convert folder names to lowercase in URLs?

When attempting to automatically convert folder names to lowercase in URLs, it is important to handle errors or 404 responses gracefully. One way to d...

How can the user modify the PHP code to display folder names as headers and links to PHP files underneath?

To display folder names as headers and links to PHP files underneath, the user can modify the PHP code to iterate through the directories, display eac...

How can PHP be used to recursively delete files within a folder before deleting the folder itself?

To recursively delete files within a folder before deleting the folder itself, we can use PHP's recursive directory iterator along with unlink functio...

What is the best way to read folder names within a directory using PHP?

To read folder names within a directory using PHP, you can use the `scandir()` function to scan the directory and return an array of files and directo...

Showing 36 to 40 of 6990 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 1397 1398 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.