How to know the name of the folder containing the php file?
I have a problem, you need to make php output into a variable the name of the folder in which it is located. Did you try the command __DIR__ but it display the full path of the folder, and I need only the folder name. Information in Google not found. Thanks in advance)