Re: Compiling PHP scripts

From: Date: Wed, 28 Nov 2001 17:41:47 +0000
Subject: Re: Compiling PHP scripts
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-746@lists.php.net to get a copy of this message
Are all includes/require statements extracted and replaced with actual code of the include... or is this just a option in PHPCompiler? On Wed, 28 Nov 2001, Geoff A. Virgo wrote: > Yup..... could be definitely be a while:) > > The only work-about I've found for the current version of PHPCompiler is to > "compile" the main file (ie. the one which loads gtk::main() and include > the all the rest of the source via include() or require() statements). The > problem lies in the size of the buffer used to append the PHP(-GTK) code > onto the copy of php.exe. It's current capacity is 6000 chars (or roughly > 16K) which obviously doesn't allow for too much code. My only plan for the > proggie at the moment is to try and increase that buffer to a sensible > size, and perhaps try to write some sort of REGEX routine which will strip > out comment lines (to further increase the amount of usable code which is > buffered). > > At 10:19 AM Wednesday, 11/28/2001, you wrote: > >Could be a while. Plot's talking of making a commercial version, Geoff's > >talking of rewriting the compiler as opensource, hopefully there is still > >shared information at this point in time .. > > > >----- Original Message ----- > >From: "Andrei Zmievski" <andrei@ispi.net> > >To: <pqadmin@physicianquest.com> > >Cc: <php-gtk-general@lists.php.net> > >Sent: Wednesday, November 28, 2001 5:18 PM > >Subject: Re: [PHP-GTK] Compiling PHP scripts > > > > > > > On Wed, 28 Nov 2001, pqadmin@physicianquest.com wrote: > > > > > > > > Does anyone know of a way to compile a *PHP-GTK* script. Zend Enc. is > > > > incompatible, POBS takes to much damn work do get it to run right, and > > > > PHPCompiler just doesnt seem to work... > > > > > > > > Didnt someone post a while back on taking over the code work for > > > > PHPCompiler? > > > > > > > > My PHP-GTK app I need to encode/compile/overlay (whatever) is about > > > > 15,000+ lines of code... > > > > > > Geez, what'd you write? :) > > > > > > -Andrei > > > > > > -- > > > PHP-GTK General Mailing List (http://gtk.php.net/) > > > To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-gtk-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > >-- > >PHP-GTK General Mailing List (http://gtk.php.net/) > >To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net > >For additional commands, e-mail: php-gtk-general-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > cheers, > > -geoff > ---------- > Software doesn't have bugs, it just develops random features. > > >

« previous php.gtk.general (#746) next »