Re: Current php-file in extension
| From: | Sam Baum | Date: | Thu, 17 Jul 2003 10:24:14 +0000 |
| Subject: | Re: Current php-file in extension | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3458@lists.php.net to get a copy of this message | ||
Hi,
am Wednesday 16 July 2003 21:55 schrieb Sam Baum:
> how can i get the current php-file, not the filename in PHP_SELF, that was
> requested, but that file that actually has the written code that called
> the PHP_FUNCTION of my extension.
got it myself, its zend_get_executed_filename(TSRMLS_C), if any other newbie
should ever search for that.
bg
Sam