Re: Binary Files
| From: | Eric | Date: | Mon, 05 Mar 2001 02:59:12 +0000 |
| Subject: | Re: Binary Files | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-267@lists.php.net to get a copy of this message | ||
On Sunday 04 March 2001 06:25 pm, you wrote:
> No it will not be possible to use php to create binary files.
I have used "wrapper" programs for Tcl/Tk. For those who've never used
Tcl/tk, it is a language that does things in much the same way as php-gtk, in
that a binary file parses a text file script. In fact, by itself, Tcl is
text-only, much like php. But with the Tk (toolkit) extension, it is able to
produce graphical programs from a script. It is because of my experience with
Tcl/Tk that I am so excited about php-gtk.
The wrapper programs I've used simply concatenate the Tcl/Tk script to the
end of an interpreter to produce just one executable file. The smallest
wrapper I've used produced a 600K file, which was small enough for my
purposes. This seems like what we need here. I don't really know why the same
principles wouldn't work.
For an example, see http://home.nycap.rr.com/dlabelle/freewrap/freewrap.html
.
The source code for this program is available at this link as well.
Anyone know any reason why this wouldn't work?
Eric
fenderboy@implode.com