php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "directory path"

What is the best method in PHP to split a string containing a file path into the directory path and file name?

When dealing with file paths in PHP, you can use the `dirname()` and `basename()` functions to split a string containing a file path into the director...

What is the best way to extract the last directory name from a path in PHP?

To extract the last directory name from a path in PHP, you can use the `basename()` function along with the `dirname()` function. First, use `dirname(...

What is the correct way to pass the directory path to functions like filesize and filemtime in PHP?

When passing a directory path to functions like filesize and filemtime in PHP, you need to make sure to include the filename in the path as well. Thes...

In PHP scripts, how does the starting directory of ftp_connect() affect the path specified in functions like ftp_mkdir()?

When using FTP functions in PHP, the starting directory of ftp_connect() affects the path specified in functions like ftp_mkdir(). If the starting dir...

How can I troubleshoot the error message "Path is not a working copy directory" when using svn_add() in PHP?

The error message "Path is not a working copy directory" typically occurs when the path provided to svn_add() is not a valid SVN working copy director...

Showing 6 to 10 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.