protecting script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

protecting script

Post by jaymoore_299 »

I'm looking to make commercial php scripts and would like to protect the coding so that its source code is either impossible or hard to steal.

I'm also looking for a way to make a small note at the bottom of the page that is using my script so that other surfers will know about the script and will be sent to the homepage of the script. Those that use the script would ideally not be able to get rid of this small message.

Any ideas on how to do this?
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

It costs a lot. PHP isn't designed to be a license-based programming language.
Revan
Forum Commoner
Posts: 83
Joined: Fri Jul 02, 2004 12:37 am
Location: New Mexico, USA
Contact:

Post by Revan »

Well, you could code it, then compile it with Roadsend PHP Compiler, I think the compiles it make, can be run on a webserver.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Revan wrote:Well, you could code it, then compile it with Roadsend PHP Compiler, I think the compiles it make, can be run on a webserver.
From the website:
Revan wrote:The compiler produces native machine code, not PHP byte code
ie, it would then be a CGI, not a php script, and not likely to run on webservers.
Revan
Forum Commoner
Posts: 83
Joined: Fri Jul 02, 2004 12:37 am
Location: New Mexico, USA
Contact:

Post by Revan »

Roja wrote:
Revan wrote:Well, you could code it, then compile it with Roadsend PHP Compiler, I think the compiles it make, can be run on a webserver.
From the website:
Revan wrote:The compiler produces native machine code, not PHP byte code
ie, it would then be a CGI, not a php script, and not likely to run on webservers.
I was pretty sure I saw a method to still be able to be used as webserver software in it, must be wrong.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Revan wrote:I was pretty sure I saw a method to still be able to be used as webserver software in it, must be wrong.
I haven't actually used that software, so in this case, iamnotsure.
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

Post by jaymoore_299 »

What languages would be suitable for making commercial applications? How about perl?
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

Post by jaymoore_299 »

What languages would be suitable for making commercial applications? How about perl?
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

Post by jaymoore_299 »

my bad, i reloaded the send page
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Every language your customer accepts, and which allows you to realise his expectations, is just fine. I just don't think there is a market for closed-source webapplications.
Post Reply