Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3458 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71750 invoked by uid 1007); 17 Jul 2003 10:24:15 -0000 Message-ID: <20030717102415.71749.qmail@pb1.pair.com> To: internals@lists.php.net Reply-To: idsam@gmx.de Date: Thu, 17 Jul 2003 12:24:14 +0200 References: <20030716195552.4706.qmail@pb1.pair.com> Lines: 15 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Posted-By: 134.155.22.122 Subject: Re: Current php-file in extension From: idsam@gmx.de (Sam Baum) 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