hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : php licensing script
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

php licensing script

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-28-2005, 02:32 PM
mjfroggy mjfroggy is offline
Web Hosting Master
 
Join Date: Feb 2002
Location: New York
Posts: 741

php licensing script


hello I am looking to create or use a licensing system for my php script which is soon to be released.
Anyway I know about phpaudit and the others but I really rather use my own script or custom solution.

can anyone point me to any good tutorials on this topic.
Also what are the pors and cons for the below mentioned scripts

http://webhostingtalk.com/showthread...ript+licensing

or this script here
http://www.phpclasses.org/browse/package/1226.html

the above two links I think would surve my purpose and allow me not to depend on another company. let me know all your comments good and bad

thanks all

Reply With Quote


Sponsored Links
  #2  
Old 12-29-2005, 02:47 AM
stuffradio stuffradio is offline
Web Hosting Guru
 
Join Date: Dec 2005
Posts: 326
What do you want us to comment on?

Reply With Quote
  #3  
Old 12-29-2005, 02:53 AM
JustinSmall JustinSmall is offline
Aspiring Evangelist
 
Join Date: Jan 2005
Location: North-East, Indiana
Posts: 417
Yes, and what kind of experience do you have? because tutorials aren't going to be the only way if your looking for super effeciency... PHPAudit is the way it is because of the experience that the programmers have... and because they know what they are doing.

Reply With Quote
Sponsored Links
  #4  
Old 12-29-2005, 10:03 AM
mjfroggy mjfroggy is offline
Web Hosting Master
 
Join Date: Feb 2002
Location: New York
Posts: 741
.......

Well the first thread I listed above some posters said their are some loopholes in the suggested php code that is posted in the thread. So I was looking for any suggestions on if I were to use the code mentioned in this thread
http://webhostingtalk.com/showthread...ript+licensing
with some encryption would the licensing system be sufficient?

I also I was hoping to get some comments on the code posted at this url
http://www.phpclasses.org/browse/package/1226.html

both in terms of if I used the code samples would their be still loop holes in the codebase which would allow people to hack the code and bypass or trick the licensing system. I am faily knowledgable about php. I just have never created any licensing type code so I am unsre how such a thing would work. As I mentioned in my first post I am aware of phpaudit and sourceguardien etc however I am sure it is possible to creae my own licensing system. However I need some pointers/suggestions. As in things to besure to do to prevent people from bypassing or breaking the licensing system I would create. Was thinking maybe this forum had other coders who created their own code who could share previous experience on creating such a code base. Things to be sure to do things to strear clear of doing etc.

thanks all

Reply With Quote
  #5  
Old 12-29-2005, 11:37 AM
JustinSmall JustinSmall is offline
Aspiring Evangelist
 
Join Date: Jan 2005
Location: North-East, Indiana
Posts: 417
Sorry, but it seems to me you just want a free code without loop holes instead of paying for one and fixing teh loop holes.

I doubt anyone will throw you there code from here, they might, but very doubtful. The type of code your asking for is going to be a fairly big code... if your wanting to fix some loop holes, I'd go directly to the code your licensing. Because once they fix the licensing section on the code, then your screwed. So you need to make sure there is a serverside page or pages that they have to connect to. And you need to keep it hidden someway so that they can't take the code out and NULL it.

anyways, gl

Reply With Quote
  #6  
Old 12-29-2005, 11:43 AM
mjfroggy mjfroggy is offline
Web Hosting Master
 
Join Date: Feb 2002
Location: New York
Posts: 741
......

thanks KikosTemplates for your reply.

Although I was not asking for complete code to echo my commenst in this thread I was asking where the loopholes are what areas of concern to keep in mind as I fixup the base code from the other post or what areas should I keep in mind if I were to totally create my own script.

I was looking at the two scripts I mentioned as a model and trying to find out what would I need to improve on them when creating my own code.

Once again not asking for a complete code if I wanted a complete code I would go buy a finished product. Instead I was looking for something I can look over and learn from and even improve upon.

thanks for your time

Reply With Quote
  #7  
Old 12-29-2005, 02:37 PM
orbitz orbitz is offline
Web Hosting Master
 
Join Date: Mar 2004
Posts: 1,301
Quote:
Originally Posted by Jreis
hello I am looking to create or use a licensing system for my php script which is soon to be released.
Anyway I know about phpaudit and the others but I really rather use my own script or custom solution.

can anyone point me to any good tutorials on this topic.
Also what are the pors and cons for the below mentioned scripts

http://webhostingtalk.com/showthread...ript+licensing

or this script here
http://www.phpclasses.org/browse/package/1226.html

the above two links I think would surve my purpose and allow me not to depend on another company. let me know all your comments good and bad

thanks all
for the first link: if the example.com is dead, then the script will not work on the customer's server. Therefore, modify the script when the server is not or not reachable - by allowing the script to execute when the sample is down.

Reply With Quote
  #8  
Old 12-29-2005, 02:46 PM
mjfroggy mjfroggy is offline
Web Hosting Master
 
Join Date: Feb 2002
Location: New York
Posts: 741
....

Thanks orbit

so if I were to have two sites it would look to verify information (chances of both sites being unreachable is uncommon as long as they are in seperate DC's)

what would be the other option? if the server the system "calls home" to is unreachable or dead?? I mean the goal would be if the system can not verify license information then the script should not run at all??

Reply With Quote
  #9  
Old 12-29-2005, 05:40 PM
tickedon tickedon is offline
Retired Moderator
 
Join Date: Oct 2003
Location: Scotland, UK
Posts: 2,827
Quote:
Originally Posted by Jreis
Thanks orbit

so if I were to have two sites it would look to verify information (chances of both sites being unreachable is uncommon as long as they are in seperate DC's)

what would be the other option? if the server the system "calls home" to is unreachable or dead?? I mean the goal would be if the system can not verify license information then the script should not run at all??
I suppose a 'free tip' would be to consider carefully your method of 'call home'. What PHP functions / extensions / modules does it require? If you choose something like cURL, it's secure, but not available on all servers. If you choose fopen(), it's sometimes disabled due to security concerns. These are all perfectly good reasons why a call home wouldn't work and why instantly preventing your script from running isn't always a good idea.

Seriously consider what you're doing before you're doing it. I've seen countless products fail due to bad licensing - if people can't get your product working, it won't matter how good it is or how good your support is, people won't use it.

__________________
Alasdair - SolidPHP, Inc.
SPBAS - Business Automation Software for web hosts, web-applications, PHP licensing and digital goods delivery.
Customer management, billing & invoicing, email marketing, integrated helpdesk, multiple brands support & more.
Now with Web Hosting and Domain Reg/Transfer/Renew Support!

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Nlyte Software Launches Patent Licensing Program for DCIM Technology Web Hosting News 2012-10-01 15:31:31
Microsoft Updates Licensing, Offers Four Versions of Windows Server 2012 Web Hosting News 2012-07-06 10:31:48
Microsoft Launches Windows System Center 2012 with Simplified Licenses, Cloud Apps Web Hosting News 2012-04-23 10:38:37
Control Panel cPanel Launches New Apache Configuration Script Web Hosting News 2011-12-28 19:41:39
Web Host AIS Network Employs License Mobility for SharePoint Web Hosting News 2011-07-25 14:18:58


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?