php3-list | 199908
Date: 09/01/99
- Next message: Rasmus Lerdorf: "Re: [PHP3] PHP Will Not Work"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] WebDAV & PHP..."
- In reply to: plynch <email protected>: "[PHP3] echoing the page name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
plynch <email protected> wrote:
>
> 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.
>
like $PHP_SELF ?
-- CIMPOESU Teodor, Web Programmer@ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo <email protected>,+(401)-330.47.28
official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/
-- 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>
- Next message: Rasmus Lerdorf: "Re: [PHP3] PHP Will Not Work"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] WebDAV & PHP..."
- In reply to: plynch <email protected>: "[PHP3] echoing the page name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

