PHP and regular expressions: return directory URL of a script without the file name
i couldn’t find this through google right away, so i’m keeping it here for reference: in a php script, i wanted to return the address of the current directory, but […]