RE: [PHP] checking for presnet file name
| From: | PHPBeginner.com | Date: | Mon, 12 Feb 2001 09:42:03 +0000 |
| Subject: | RE: [PHP] checking for presnet file name | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39192@lists.php.net to get a copy of this message | ||
$PHP_SELF will give you the file name rlative to your Document Root
http://www.php.net/manual/language.variables.predefined.php
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: John LYC [mailto:john@edlabs.com]
Sent: Monday, February 12, 2001 2:23 PM
To: PHP List
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