Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37673 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12248 invoked from network); 16 May 2008 05:42:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2008 05:42:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=aks_flint_4t@yahoo.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=aks_flint_4t@yahoo.com; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain yahoo.com from 98.136.45.12 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: aks_flint_4t@yahoo.com X-Host-Fingerprint: 98.136.45.12 n65a.bullet.mail.sp1.yahoo.com Received: from [98.136.45.12] ([98.136.45.12:42723] helo=n65a.bullet.mail.sp1.yahoo.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/A7-00945-4BE1D284 for ; Fri, 16 May 2008 01:42:12 -0400 Received: from [216.252.122.217] by n65.bullet.mail.sp1.yahoo.com with NNFMP; 16 May 2008 05:42:09 -0000 Received: from [69.147.84.34] by t2.bullet.sp1.yahoo.com with NNFMP; 16 May 2008 05:42:09 -0000 Received: from [127.0.0.1] by omp210.mail.sp1.yahoo.com with NNFMP; 16 May 2008 05:42:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 671416.80907.bm@omp210.mail.sp1.yahoo.com Received: (qmail 34982 invoked by uid 60001); 16 May 2008 05:42:09 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=s6zILptRBxeWJSRyXEdcUKh9q6tnSTcA7p4SER4Ud1ThUQvcp0O30kEterhaV3MSo+PtAfo7oVZV6kYmTw7vgjydvUwRmRjIkuqEInKlbDDwkrJ1RIRiV4T+EY6QJR94b3LQQAXIXyOur/WfU4/mXhzcw9gsUIDEAt6YM4Ffto0=; X-YMail-OSG: LYSyCuUVM1mv0PCpmM9elX3A2FxARdnITTV24kQXXNmS9K7rvj5a.blt4lFxTGSh8r5vErffd9x9UzAIfW0sTuq0MFHa9GUMvQ-- Received: from [125.164.2.188] by web46402.mail.sp1.yahoo.com via HTTP; Thu, 15 May 2008 22:42:09 PDT X-Mailer: YahooMailRC/975.23 YahooMailWebService/0.7.185 Date: Thu, 15 May 2008 22:42:09 -0700 (PDT) To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <488669.34393.qm@web46402.mail.sp1.yahoo.com> Subject: Please help about zend engine From: aks_flint_4t@yahoo.com (Andreas K Santoso) Hello sir/ma'am My name is andre from Indonesia. I am a student of a university, and i'm doing my thesis. I subscribe to this list to look for some help. Oh by the way, my thesis is about PHP file encryption. So i need to decrypt the file when it's accessed and before any further processing. I'm surely not as smart and experienced as all of you, so please be patient Mr. Malyshev told me that i have 2 options 1. Override the zend_compile function (he said that this one seems to be the easiest way) 2. Use the PHP stream system (http://php.net/streams) to create filters that decrypt data on-the-fly. So i decided to try the second option. But still i can't understand it well. The example i've read (http://php.net/streams) is not clear enough for me. I mean, how to make the filter itself, and how to use it? and can the filter automaticaly applied to every .php files? And can anyone tell me where i must insert my codes if i want to override the zend_compile? I'm afraid that i don't have much time left, so if i can't use option 2, i will use option 1 instead. Sorry if my english impolite or confusing. Thank you very much for your patience and help.