Re: Calling Compiled File From PHP File

From: Date: Mon, 20 May 2002 21:27:52 +0000
Subject: Re: Calling Compiled File From PHP File
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98534@lists.php.net to get a copy of this message
Hello, On 05/20/2002 05:02 PM, Bruce Miller wrote:
I have an algorithm that I don't want anyone to see; therefore I can't put
it in a php file. Is there a way I can create a compiled file containing the
algorithm/method that a php file can call? I see information on creating extensions--is this the way to go? If so, it looks like there's php source
code for UNIX available. How about Win32?
Yes, you can use for instance APC which is a cache extension which in MMAP mode stores compiled code in files in disk the first time the files are executed. Then you may remove the original PHP script files and the compiled files will be used without the source files. http://apc.communityconnect.com/ -- Regards, Manuel Lemos

« previous php.general (#98534) next »