Re: newbie needs help

From: Date: Fri, 20 Jul 2007 20:01:03 +0000
Subject: Re: newbie needs help
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7984@lists.php.net to get a copy of this message
Hello, In regards to Roadsend, PHP-GTK 2 doesn't support PHP < 5.1. Also, PHP announced the end of life for PHP 4 a week ago; it will be unsupported except for critical security issues at the end of this year. I researched these compiler/encoders quite a bit recently. From the information I found, it seems like encoding to PHP byte code is just a step beyond obfuscating your script source before distribution. I see the real benefit of encoding as saving PHP the work of encoding the script into PHP byte code at run-time, not security. This may be a nice performance boost in a web setting where the encoding happens with each request, but I think a desktop application would not see much benefit unless it was written in a very spawned-process oriented manner. Your string literals and such can be read out of the bytecode; bcompiler warns you not to think you can hide a password this way. From php.net: "In terms of code protection, it is safe to say that it would be impossible to recreate the exact source code that it was built from, and without the accompanying source code comments. It would effectively be useless to use the bcompiler bytecodes to recreate and modify a class. However it is possible to retrieve data from a bcompiled bytecode file - so don't put your private passwords or anything in it." For those who are already encoding their scripts, is your goal performance, security or simply trying to prevent users from borrowing or modifying your code? My impression is that encoding may help performance but is only as effective in the other two areas as any obfuscation technique in that it may reduce the set of people who are able to get into the works but is not preventing a knowledgeable person from doing so. -Jake Cobb Cagdas CUBUKCU wrote:
Roadsend may help you with your problem. With Roadsend you can compile PHP and PHP-GTK together. I haven't tried it, but it says so. People say that Roadsend is quite successful. www.roadsend.com It doesn't support PHP 5 yet. There is also PHP Priado Blender you may want to take a look: http://www.priadoblender.com/ As suggested before, bcompiler is a PECL package that is another good option for compiling PHP&PHP-Gtk. http://pecl.php.net/package/bcompiler Hope this helps -Cagdas On 7/19/07, blckspder <blckspder@gmail.com> wrote:
Hello, I am a newbie to PHP-GTK... Ive searched the forum but maybe was looking for the wrong terms.. I created a small and simple app with php-gtk.. but how to I compile it for release so I can install/run on other machines?? Please let me know thanks. -- View this message in context: http://www.nabble.com/newbie-needs-help-tf4114688.html#a11700926 Sent from the Php - GTK - General mailing list archive at Nabble.com. -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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