Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] echoing the page name From: plynch <email protected>
Date: 08/30/99

I can't remember what the command was to echo just the page name, I don't
think its the __FILE__ constant that I am looking for, but I could be
wrong. Is there a command that just outputs the page name?

Like
http://host.domain/path/file.php

and return just

file.php?

I am looking for something other then __FILE__ because it is in an include
file, and its giving me the include file name, and not the page name.

Thanks in advance.

Paul

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>