Page 2 of 2
Posted: Wed Dec 25, 2002 6:01 pm
by evilcoder
yes, yes i do. everyone steals code except me, thats right....... Dont blame me for my stupidity i work at a boring seemingly endless job, all i have to pass the time is answering questions from forums. After 12 hours sitting my backside, then realising i have to work another 4 hours, i get a bit narky.
Posted: Thu Dec 26, 2002 8:11 am
by kcomer
Find a new job
Posted: Thu Dec 26, 2002 8:40 am
by Elmseeker
Kcomer said:
To hide the db structure of mysql, I don't think it can be done.
Sure it can, simply host the DB on a remote server that they don't have access to...they can never see the schema that way...I am not saying any of this is "right" but it is a way to do it...
Gen-ik wrote:
I guess we should just all agree to disagree on this one.. and stop this turning into one of those never ending 'to copyright or not to copyright, that is the question' posts.
I agree, copyrighting material is a personal choice not a must IMHO...some stuff I write I do copyright most I don't bother. Most of the time copyrighting php code, to me anyway, is a waste of time and energy as would be going after anyone who decided to steal despite your copyright.
Posted: Thu Dec 26, 2002 9:53 am
by kcomer
why not just host the php site on a remote server as well, along with the database. Of course this does nothing close to what you aked but it's an answer, even if it's wrong(not right).
Posted: Thu Dec 26, 2002 9:59 am
by Elmseeker
Yeah someone else had suggested that as well, I am assuming they want all of the URLs to be on here server so the way to do it would be give them a php page that contains:
Code: Select all
<?
include("http://my.server.com/fullcode.php");
?>
IMHO it's not a bad way of doing it, but as Kcomer just pointed out it may not be right. Another issue is of course if these people are paying you to develop their site for them and you're writing code in order to do that, they technically own allo copyrights to that code because you have coded it as a "work for hire". If you are reusing old code you wrote BEFORE you were hired to do their site it's all good...otherwise you're seriously looking at the possibility of a lawsuit if you try to hide the code from them...
Posted: Thu Dec 26, 2002 1:01 pm
by James Pelow
Why not get the MD5 of each file and then if the string doesn't match block the script..... presumably you would need to make the MD5 checking code hard to find... or even use one of those encryption things memtioned earlier.
-James
Encoder4php
Posted: Thu Jan 02, 2003 7:06 am
by encoder4php
Try to use
http://encoder4php.pag1.com
It's easy to use and install!!!