driveflexfuel
New Member
- Messages
- 159
- Reaction score
- 0
- Points
- 0
I have been looking for a solution to this function for the last 2 days and im going nuts lol. If anyone has any ideas please share them.
I need a function that takes a file name example('find_904972.php')searches directories starting at home directory to find that file and reports back the full directory the file is in
I need a function that takes a file name example('find_904972.php')searches directories starting at home directory to find that file and reports back the full directory the file is in
Code:
function find_directory($directory_name){
// search for directory
return $directory_location
}
example $direcotory_location = "uesr/public_html/directory/directory/"
Last edited: