How do you get the current directory name in PHP?
I ran into a situation where I wanted to get the name of the directory I was in, in PHP. To be clear, I didn’t want the full path, just the directory/folder name To be clear, if I was working in...