Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36058 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85993 invoked from network); 8 Mar 2008 07:51:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2008 07:51:14 -0000 Authentication-Results: pb1.pair.com header.from=dragonwing@dragonu.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dragonwing@dragonu.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain dragonu.net from 204.127.203.212 cause and error) X-PHP-List-Original-Sender: dragonwing@dragonu.net X-Host-Fingerprint: 204.127.203.212 sccmmhc92.asp.att.net NetCache Data OnTap 5.x Received: from [204.127.203.212] ([204.127.203.212:52121] helo=sccmmhc92.asp.att.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/50-18442-17542D74 for ; Sat, 08 Mar 2008 02:51:14 -0500 Received: from [192.168.1.102] (12-226-116-64.client.mchsi.com[12.226.116.64]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20080308075107m92009bo0ae>; Sat, 8 Mar 2008 07:51:09 +0000 Message-ID: <47D2455E.6010501@dragonu.net> Date: Sat, 08 Mar 2008 01:50:54 -0600 User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: internals Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Loading PHP Files from a PHP Extension From: dragonwing@dragonu.net (Jacob Santos) I'm not sure if this is the right list, because well, it isn't Internal to PHP and isn't it helping with PHP in any way. Regardless, I've been searching for many of hours and I would like an answer. (PS: There aren't very many people outside of this list who knows the answer to my question anyway.) Anyway, I remember once upon a time a PHP extension which loaded PHP files within the PHP extension MINIT or RINIT function. I had thought it was SPL which did this, but I appear to be wrong. Searching for material on the subject only brings up generic PHP Extension writing. I also believe I bought this up before on the mailing list and it was answered before. However, searching for my name doesn't bring up very many results (which may or may not be a good thing). If anyone knows of a resource to include PHP files within an extension during MINIT or RINIT, then I would love to know how it is done or even if it can be done. If anyone remembers an extension which does this already, please can you let me know? I thought that php_execute_script() might work, but from the Extending and Embedding PHP book, it is used within the context of Embedding and not Extending PHP. Jacob Santos