now that I have got the filename, it does however come in this format directory/dirctory/filename.php
How do I split it up into just filename.php?
I am awfully new to PHP so am just starting to dip my toes ... lots of new functions to learn and find! But I cannot see one that is going to help me split up the above string. I guess it could go into an array first and I'd just pick out the final element which would be the filename.php.
But how? 😕