Home ›
Get the directory name from a file path string in PHPGet the directory name from a file path string in PHP
Submitted by Benjamin Melançon on April 28, 2009 - 1:24pm
There is a built-in PHP function to get the directory portion of a file path from a string (lopping off the filename itself).
Resolution
Searched words:
get file path from string php
folder exists extract dirname filename
Comments
PHP Get file path
PHP Get file path
Post new comment