That i don't know how to write pattern that starts with "/" and contain "-" for preg_match
basename("/dir1/dir2/dir3/dir4/Rlsname-Group") = Rlsname-Group
y u need preg_match here :o
Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.