Ask about general coding issues or problems here.
3 posts • Page 1 of 1
there are several way you can do that. an easy way that I do it is to explode the name by '.' and use mkdir() to create a new directory.
Code: Select all
$filename_array = explode('.',$filename);
$directory_name = $filename_array;