Home >Backend Development >PHP Tutorial >Get the absolute path of the file containing the code of the upper-level directory
By the way, here is another function in PHP: chdir() function. chdir() function Definition and usage The chdir() function changes the current directory to the specified directory. If successful, the function returns true, otherwise it returns false. Grammar chdir(directory) parameter description directory required. Specifies the new current directory. Example:
Output: C:jbxue.commain C:jbxue.commainimages |