Log in

View Full Version : [=PROJECT=][!#!]PHP LICENCE SCRIPT[=PROJECT=][!#!]



rh4u
28-10-2007, 10:42 PM
Hello.
Along with my habbo alerts system i have also decided to make a php licening system, purly becuase i want to know it is being used propelly.
-------------------------------------------------------------------
It is a encoded script, so nobody you know can play around with it, also if they attepmt to stop any connections to your server, it wont be possible to run the script.

While the script is in BETA, it will be free, but once its out of beta it will be free to Habbox only users.
-------------------------------------------------------------------
It is NOT possible to use the software without a valid licence, furthermore, if attempted, your server WILL be contacted and you WILL be emailed on a email you set.
--------------------------------------------------------------------
The script will be cheap to purchase for non-habbox users.
THIS SCRIPT IS NOT OPEN SOURCE.
I will edit the script to your needs, encode it and email it to you.
This is a security measure, to reduce the chances of someone *cough*Invent*cough* trying to get round the security procedures.
--------------------------------------------------------------------
How it works (little desc):
It connects to the database that the script owner chooses, checks the installed licence key against all the keys in the system, if the key doesent exist it will have an error. If the key does exist, it will check against the ip & domain the script is registerd with. If that is incorrect, the error will once again shown up. Finally, if all the system checks are completed without any problems, it will show the script!
I was origionally making it connect the a file on the server but that would make load times dramaticaly higher.
---------------------------------------------------------------------
I wish you success with all your websites and scripts you make.
Thankyou, Dominic

Tomm
28-10-2007, 10:52 PM
To be honest it would be better if you used a custom designed application for handling license check requests as it would offer even better performance. Idealy it would use UDP but TCP would be prefectly fine. This would also reduce the overhead of checking licenses.

Jamie.
29-10-2007, 06:44 PM
And what if people were to delete the mysql info in the database by accident? they would need a new license?

God..
29-10-2007, 06:48 PM
And what if people were to delete the mysql info in the database by accident? they would need a new license?
They should lisence it to the domain name, not sql.

Jamie.
29-10-2007, 06:55 PM
good point, why use a license code if it has the domain too :S

God..
29-10-2007, 06:56 PM
like this; i think.

you -> encode script -> sell script -> user uploads points script to domain installs -> contacts you to get a lisence or osmthing

im not to sure

rh4u
29-10-2007, 07:20 PM
No, i give teh script buyer (script maker) a big sql file which they will run/upload on the db they selected.

headboard
29-10-2007, 07:29 PM
Never trust a man who can't spell simple words.

rh4u
29-10-2007, 07:32 PM
fine then.

THE

Jamie.
29-10-2007, 07:35 PM
Never trust a man who can't spell simple words.

Doesnt make him rubbish at coding sorry. Bad post. For all you know he may be dislexic

headboard
29-10-2007, 07:39 PM
My brother is dyslexic and it dosn't stop him from spelling properly correctly. It swaps letters arround. If you are, then sorry, but that's no excuse.

Jamie.
29-10-2007, 07:42 PM
I'm not but I just didn't know of how to spell Dyslexic

QuickScriptz
29-10-2007, 08:19 PM
Oh polepe waht are you tlaknig aobut? Did you konw taht if a wrod has jsut the frsit and lsat ltetres in the rghit pclae tehn you can siltl raed it? So who creas if you can siltl raed it as a whloe?

Anyways... back to reality...
So how does this script of yours manage to get a list of all the domains and ips and valid keys? Does it connect to your site or does the encoded file just contain them all?

You see I'm making a custom one similar to this so basically how it works is that is the license checking function is encrypted along with some other core functions (so if you just delete the encrypted bit then you're screwed) and then it contacts my update server via secure TCP (https://) and then validates itself and then my server returns either a good or bad response along with a kill switch if necessary.

So ya :) Best of luck!

rh4u
30-10-2007, 07:51 PM
nah, mine uses MySQL.

obv i cant telll you that much.
sorry for quick spellings.

lolwut
30-10-2007, 09:00 PM
You jsut stloe Mattx.org's ieda.
And how come everything you make doesn't get released?

(Yes, that was deliberate.)

rh4u
30-10-2007, 09:16 PM
funny guy you aint ya?
I am realsing it, but also i do have a life aswell.
oh, and NO i didnt coppy matts idea. I didnt even know he ws makin a licening script.
So shove that in your pipe and smoke it.

DeejayMachoo$
31-10-2007, 04:44 PM
funny guy you aint ya?
I am realsing it, but also i do have a life aswell.
oh, and NO i didnt coppy matts idea. I didnt even know he ws makin a licening script.
So shove that in your pipe and smoke it.

Its mattx not matt and u was viewing my thread when i posted it :)

Jamie.
31-10-2007, 04:56 PM
Its mattx not matt and u was viewing my thread when i posted it :)

Well why don't you both make one :)! stop arguing.

Beau
01-11-2007, 09:34 AM
Nice idea, although having the licensing script run everytime you loaded a new page in a web application (which I'm assuming is how you would go about it, can't see any other way) would be a waste of server resources...

rh4u
01-11-2007, 06:49 PM
not realy.
if it was to only run once, that would be very, very pointless

Jamie.
01-11-2007, 07:04 PM
run it once on one page if its invalid make some way of deleting all the 'scripts' files :P

Beau
02-11-2007, 05:39 AM
run it once on one page if its invalid make some way of deleting all the 'scripts' files :P

That could work, I suppose. rmdir() can remove a directory. Nice idea.

Tomm
02-11-2007, 09:19 AM
Actually it sucks. I would be rather annoyed if I just uploaded everything and I forget to put in my license key or typed it wrong and it removed all my files. Also what happens if the licensing server goes down? I would not want all my files removing.

My licensing system uses MySQL but it uses a custom C++ TCP/IP multi-threaded application to check the licenses. It creates a thread for synchronizing the data in the MySQL database with an array stored in memory at a specific time. By storing the license data in memory it makes it much faster at checking licenses and also reduces load on the MySQL server.

If you are planning on letting the script you give out to users connect to your MySQL server I suggest you rethink your idea.


That could work, I suppose. rmdir() can remove a directory. Nice idea.

rh4u
02-11-2007, 04:30 PM
I wouldnt make it delete the files, becuase they could just reupload anyways.
And why shoulds i rethink my idea?
TBH, its just a matter of opinion.

Want to hide these adverts? Register an account for free!