How do you strip/remove wording in PHP?
I have a form that's passing a full URL link to an output page.
Example: maps/africa.pdf
And on the output page, I want to provide an "href link", but in PHP use that same posted URL, but strip off the "maps" and have it provide a link that just says africa.
Example: africa
can this be done?
Thanks!