note 43368 deleted from reserved.variables by aidan
| From: | aidan@php.net | Date: | Mon, 13 Sep 2004 07:37:47 +0000 |
| Subject: | note 43368 deleted from reserved.variables by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76588@lists.php.net to get a copy of this message | ||
Note Submitter: chris at thetradeslist dot com
----
there is no need for any loops to do this
You can easily just use the PHP pathinfo() method:
$selfArray=pathinfo($_SERVER["PHP_SELF"]);
$basename=$selfArray["basename"];