[thelist] getting page name with PHP [solved]

Tom Dell'Aringa pixelmech at yahoo.com
Tue Sep 10 15:10:01 CDT 2002


Perfect Simon, thanks! (and for the other tip too)

Tom
--- Simon Willison <simon at incutio.com> wrote:

> Try the basename function:
>
> $filename = basename($_SERVER['SCRIPT_FILENAME']);
>
> Cheers,
>
> Simon
>
> --
> Web Developer, www.incutio.com
> Weblog: http://simon.incutio.com/
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !


=====
var me = tom.pixelmech.webDeveloper();

http://www.pixelmech.com/
http://www.maccaws.com/
[Making A Commercial Case for Adopting Web Standards]

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute



More information about the thelist mailing list