Re: Compiling PHP scripts
| From: | Geoff A. Virgo | Date: | Wed, 28 Nov 2001 17:36:05 +0000 |
| Subject: | Re: Compiling PHP scripts | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-744@lists.php.net to get a copy of this message | ||
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:cheers, -geoff ---------- Software doesn't have bugs, it just develops random features.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