Re: checking for presnet file name
| From: | Ankur Verma | Date: | Mon, 12 Feb 2001 06:19:28 +0000 |
| Subject: | Re: checking for presnet file name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39176@lists.php.net to get a copy of this message | ||
try using
$PHP_SELF
and
$REQUEST_URI
regards
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
----- Original Message -----
From: "John LYC" <john@edlabs.com>
To: "PHP List" <php-general@lists.php.net>
Sent: Monday, February 12, 2001 10:52 AM
Subject: [PHP] checking for presnet file name
> is there a pre-defined variable that return present php file name...
>
> for example...
>
> url : www.domain.com/mypage.php
>
> $var == "mypage";
>
> ????
>
> thanks
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net