note 75365 added to function.substr
| From: | alias at axew3 dot com | Date: | Fri, 25 May 2007 14:08:59 +0000 |
| Subject: | note 75365 added to function.substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126897@lists.php.net to get a copy of this message | ||
Get the page filename for your scripts in a easy simple way:
$pagename = substr(__FILE__, strrpos(__FILE__, "\\") + 1, strlen(__FILE__));
----
Server IP: 69.147.83.197
Probable Submitter: 87.10.186.82
----
Manual Page -- http://www.php.net/manual/en/function.substr.php
Edit -- https://master.php.net/note/edit/75365
Del: integrated -- https://master.php.net/note/delete/75365/integrated
Del: useless -- https://master.php.net/note/delete/75365/useless
Del: bad code -- https://master.php.net/note/delete/75365/bad+code
Del: spam -- https://master.php.net/note/delete/75365/spam
Del: non-english -- https://master.php.net/note/delete/75365/non-english
Del: in docs -- https://master.php.net/note/delete/75365/in+docs
Del: other reasons-- https://master.php.net/note/delete/75365
Reject -- https://master.php.net/note/reject/75365
Search -- https://master.php.net/manage/user-notes.php