On Thu, 01 Jul 2004 11:52:47 -0400, John Taylor-Johnston <[EMAIL PROTECTED]> wrote: > > Hi, > I need another variable. I need the filename itself. I want to substitute > > /var/www/html/new1/foo.html > > for > > /var/www/html/new1/phpinfo.htm
I am not exactly sure what you want to do but I think you should take a look at the function basename http://www.php.net/basename -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php