mraza Posted November 4, 2009 Share Posted November 4, 2009 Hi ! is it possible to protect my code of PHP? is it possible i can make an .exe program instead of giving script and it will run like a desktop app even user dont have php installed etc? Thanks for any idea Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/ Share on other sites More sharing options...
nadeemshafi9 Posted November 4, 2009 Share Posted November 4, 2009 Hi ! is it possible to protect my code of PHP? is it possible i can make an .exe program instead of giving script and it will run like a desktop app even user dont have php installed etc? Thanks for any idea ofcourse its possible, you would need to have an exe that when executed started the php service in a process sprouted from its self and then would also contain all the binary for php, the next ap would have to mimic the web server unless you can hook it up to apache local. This is a momouth task mate, you wont be able to do 30 or 40 years work in a couple of hours tbh its not worth it, your scripts are protected via unix permissions Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950966 Share on other sites More sharing options...
seanlim Posted November 4, 2009 Share Posted November 4, 2009 You don't need to do the mammoth task by yourself. When I looked into this sometime back, there were commercial solutions available which could bundle everything together into an executable, not too sure if there are open-source/freeware alternatives. Anyway, I have figured that if you want a client-side executable as the end result, it would be better off to start coding in a client-side language like C/C++ or Java.. Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950969 Share on other sites More sharing options...
nadeemshafi9 Posted November 4, 2009 Share Posted November 4, 2009 You don't need to do the mammoth task by yourself. When I looked into this sometime back, there were commercial solutions available which could bundle everything together into an executable, not too sure if there are open-source/freeware alternatives. Anyway, I have figured that if you want a client-side executable as the end result, it would be better off to start coding in a client-side language like C/C++ or Java.. welll put Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950971 Share on other sites More sharing options...
nadeemshafi9 Posted November 4, 2009 Share Posted November 4, 2009 whats the point of having php parsing if your in c Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950973 Share on other sites More sharing options...
mraza Posted November 4, 2009 Author Share Posted November 4, 2009 thx guys i have never used C or other language except PHP, @seanlim which commercial solutions are available? Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950983 Share on other sites More sharing options...
newbtophp Posted November 4, 2009 Share Posted November 4, 2009 thanks guys i have never used C or other language except PHP, @seanlim which commercial solutions are available? google winbinder, and php.exe Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-951087 Share on other sites More sharing options...
seanlim Posted November 5, 2009 Share Posted November 5, 2009 You might want to start learning C then? As much as I love to code in PHP, it might be wise to use the right tools for the right job. You have to consider the drawbacks of your product being a slower and larger application. If you aren't too fazed by these concerns, a google search on "php compiler" will net you some results. Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-951660 Share on other sites More sharing options...
trq Posted November 5, 2009 Share Posted November 5, 2009 You have to consider the drawbacks of your product being a slower and larger application. Most of these compilers are actually quicker. Which makes sense as the optcode creation process is skipped all together. Ive had some success with Roadsend. Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-951685 Share on other sites More sharing options...
seanlim Posted November 5, 2009 Share Posted November 5, 2009 I meant slower compared to a C application... I would be surprised if C is slower than PHP in a client-side operation! Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-951689 Share on other sites More sharing options...
mraza Posted November 8, 2009 Author Share Posted November 8, 2009 thanks guys but Roadsend has no support for PHP5 and not included PHP-GTK .... could somebody point me any commercial product. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-953676 Share on other sites More sharing options...
trq Posted November 8, 2009 Share Posted November 8, 2009 Have you tried searching google? This isn't exactly a programming question and I just did a quick search and found many results. Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-953803 Share on other sites More sharing options...
newbtophp Posted November 8, 2009 Share Posted November 8, 2009 You have to consider the drawbacks of your product being a slower and larger application. Most of these compilers are actually quicker. Which makes sense as the optcode creation process is skipped all together. Ive had some success with Roadsend. Or Winbinder is also cool Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-953827 Share on other sites More sharing options...
mraza Posted November 12, 2009 Author Share Posted November 12, 2009 ok got that point for applications. now please can somebody point me how can i protect my php script file like it will become unreadable as secureguardian does it. is there any way without paying to do it. any urgent help plz Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-956322 Share on other sites More sharing options...
darkvengance Posted November 12, 2009 Share Posted November 12, 2009 What you are trying to do is obscure your code...here is something I found that might help you out.... http://www.codeeclipse.com/ Quote Link to comment https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-956331 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.