Re: Help withPHP-gtk

From: Date: Mon, 30 Apr 2001 22:18:47 +0000
Subject: Re: Help withPHP-gtk
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1571@lists.php.net to get a copy of this message
The 'compiler' from http://www.deskcode.com/phpcompiler/ seems to have a code limitation of about 7k. If the size of the script you are compiling exceeds ~7k, when you run the resulting exe nothing happens. A work around would be to use includes. For example, I have an application. All the code for the application is written in app.php. To compile this application, I create another script called whatever.php that contains include("app.php"). Then I compile whatever.php and distribute app.php along with the exe. It's not simple and goes against the idea of a single exe distribution, but at least works. Joe.
----- Original Message ----- From: "Mike Elliott" <mike.elliott@versaterm.com> To: <php-gtk@lists.php.net> Sent: Friday, April 27, 2001 9:27 PM Subject: [PHP-GTK] Help withPHP-gtk
1) What would cause a PHP-GTK program to work fine from the command line (php.exe -q somefile.php), but not from a compiled exe using the phpcompiler? I know you'll probably not know.. but it's worth a shot.


« previous php.gtk (#1571) next »