se1zure Posted January 20, 2007 Share Posted January 20, 2007 The other day I decided that It would benefit me to learn PHP, because I already know html, css, and a bit of javascript.However, since PHP, is far more broad than html, and css (combined even), I think it has more potential. However, I am worried, that If I ever choose to write a utility in php, if I ever decided to sell it, how would I make the source closed? Being open source, basically ruins any chance of selling apps, (because basically, anyone can change a line of code, and claim it as their own).I realize I am probably stressign over nothing, but isnt' there a way to possibly encrypt the files or something, especially if I am using php with sensitive information (passwords etc). Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/ Share on other sites More sharing options...
php wanna bee Posted January 20, 2007 Share Posted January 20, 2007 http://www.sourceguardian.com/http://www.zend.com/products/zend_guard Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164862 Share on other sites More sharing options...
cmgmyr Posted January 20, 2007 Share Posted January 20, 2007 The good thing about php is that you CAN NOT see the source code in the browser. SO...[code]<?php $s = "Source"; $c = "Code"; echo $s." ".$c;?>[/code]Will just be "Source Code" when you look at the "View Source" in browsers. Even if you download the script through a download program it will just show in the file what the browser would see. So they will never see the actual php code like above.Hope this helps,-Chris Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164871 Share on other sites More sharing options...
Jessica Posted January 20, 2007 Share Posted January 20, 2007 cmg, that doesn't pertain to selling the code. Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164876 Share on other sites More sharing options...
cmgmyr Posted January 20, 2007 Share Posted January 20, 2007 It is helpful to know if he is just starting out in php, it's one less thing to be worried about if he is worried about people stealing his code...if he sold it or not. Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164879 Share on other sites More sharing options...
Jessica Posted January 20, 2007 Share Posted January 20, 2007 Damn I just looked at those two - $250 and $995/yearly? Fuck. You'd have to be selling a whole lotta PHP for that to be worth it. There's gotta be cheaper stuff out there. *searches* Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164880 Share on other sites More sharing options...
printf Posted January 20, 2007 Share Posted January 20, 2007 Encrypting code to protect it, is like having locks on windows and doors, it only keep honest people honest.printf Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164882 Share on other sites More sharing options...
trq Posted January 20, 2007 Share Posted January 20, 2007 Just because someone can see your code does not make it open source. Get a decent license. Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164883 Share on other sites More sharing options...
dwest Posted January 20, 2007 Share Posted January 20, 2007 ioncube.comOnce encrypted, there is no reversing the encryption.But, like all such products, it isn't cheap.This one is reasonablehttp://www.phpshield.com Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164903 Share on other sites More sharing options...
matto Posted January 20, 2007 Share Posted January 20, 2007 I don't think you would need to be selling PHP code to benefit from any of these encrypting/encodng products. The added security these products provide in shared hosting environments is absolutely essential - as we all know you can use PHP's fopen("path_to_file", "r") to read other files on the same server, including files that contain sensitive information like database username and passwords.....wouldn't be without it......it's worth the money !!!!!I would recommend SourceGuardian as it doesn't require any server configuration and works on most ISP hosting environments....My 5 cents worth anyway.... :) Quote Link to comment https://forums.phpfreaks.com/topic/34961-is-it-possible-to-make-my-source-closed/#findComment-164954 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.