ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

How to work with license/restrictions

Author Message
komsi



Joined: 17 Oct 2005
Posts: 1

PostPosted: Mon Oct 17, 2005 7:57 am    Post subject: How to work with license/restrictions Reply with quote

Hi,
I downloaded the trial encoder, very very nice...

But I cant figure out how the restriction and licens funktions works...

Isn't there some sort of tutorials out there?

When I generate a license.txt where should i then put it?, on the server for inclusion?

Thanking you in advance... Very Happy
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Mon Oct 17, 2005 11:44 am    Post subject: Reply with quote

Hi

We don't have tutorials yet on this, but the user guide is fairly detailed.

When you setup your project, if you specify that a license file is required, you can enter the name of the license file. This can also be a relative path. The Loader searches for the license file by walking up the path of the encoded file being validated. So, if you give a name license.txt, then you could just put that in the top level directory of the package and it should be found, but the end user could also put it above their web space and it would still be found.

For the restricitons, you can enter specific sever restrictions, but you can also use license request data that has been sent to you. In the Loader API, there is a function to generate encoded server data. You might call this from your application to generate license data that the end user sends to you. Once you have this, you can either use the command line tool to generate a license file based on their server data, or with Windows, drag the request file onto the license generator window. If you do this, the GUI will decode the file and add the restrictions from the file to the grid in the license generator window.

A great advantage of having a Loader API functions that you can integrate into your own application is that it ensures that when generating license data, you'll have precisely the correct information for the domain that the end user is running. The correct server name to restrict to, which may not actually be the displayed URL, can sometimes be tricky as it's not always obvious, and this mechanism takes all the guess work out of that.
_________________
Community Admin
Back to top
View user's profile Send private message
ralfk



Joined: 28 Sep 2005
Posts: 27

PostPosted: Tue Nov 01, 2005 12:01 am    Post subject: Reply with quote

Hello komsi,
just finished writing a little tutorial that might help you build up your mind.

http://forum.ioncube.com/viewtopic.php?t=190 encoding files and license.

Best regards

Ralf
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum