how do i extract the page name only from a url address?
Posted: Mon Oct 03, 2005 10:20 am
Hi All
How can I extract the page name from the url, example I have done this
The result I get is /directoryA/index.php
All I want to do is get index.php
Kind Regards
Antek
How can I extract the page name from the url, example I have done this
Code: Select all
$theuri = $_SERVER['REQUEST_URI'];The result I get is /directoryA/index.php
All I want to do is get index.php
Kind Regards
Antek