Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950966
Share on other sites

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..

Link to comment
https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950969
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-950971
Share on other sites

You might want to start learning C then? :P

 

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.

Link to comment
https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-951660
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/180271-script-protection/#findComment-953827
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.