note 46135 deleted from function.preg-split by sean
| From: | sean@php.net | Date: | Thu, 28 Oct 2004 14:39:02 +0000 |
| Subject: | note 46135 deleted from function.preg-split by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79261@lists.php.net to get a copy of this message | ||
Note Submitter: spam at mspo dot com
----
I'm not sure if there's a better way to get just the name of your script, but here's
an easy way to do it. Good for form actions.
<?php echo(end(preg_split("/\//",$_SERVER['PHP_SELF'])));?>