Jump to content

script protection


mraza

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