Hi again, http://php.net/basename will do the trick. Eric >what I get : > >/path/to/index.php > >what I want : > >index.php > >Burhan Khalid > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > >-- >For unsubscribe and other options, including >the Tip Harvester and archive of TheList go to: >http://lists.evolt.org Workers of the Web, evolt !