Menu
Alright, on my site I need to be able to get the current url of the page then take it apart so i only have the end filename. (i.e.: the url is [url]http://www.blah.com/foo/foo.php
and i get foo.php)
ive heard of a function parse_url that seems to fit my purpose and a variable that gets the current url, $_REQUEST_URL.
And I’m 100% lost on both… and PHP.net gives the worst explanations, everything relevant i know of php i learned from w3schools. will someone plz help me?