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

make_license syntax

Author Message
TheWebGuy



Joined: 19 Jun 2005
Posts: 20

PostPosted: Fri Jan 20, 2006 2:52 am    Post subject: make_license syntax Reply with quote

Hi,

I'm using make_license to create a license file with restrictions based on allowed-server and expire-in parameters, both of which are passed from a simple form using $servername and $expirein variables.

I'd like to expose the restrictions in the license file header, and for expire-in I know I can use the --expose-expiry option. What's the equivalent for --allowed-server ?

In the manual, there's no mention of an equivalent --expose-allowed-server option.

Do I therefore need to create a servername license property and use --allowed-server $servername --property "servername = $servername" --expose-property servername to do this, or is there a simpler method using a property/switch I've missed ?

Thanks,

Will.
Back to top
View user's profile Send private message Visit poster's website
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Fri Jan 20, 2006 3:09 am    Post subject: Reply with quote

Hi Will

Although there could be for completeness, there isn't an option for exposing server restrictions because in general one wouldn't want to give away details of the server parameters being restricted to. However you can add this information either using dummy properties and exposing those, or more simply, by using the header line option to add custom text to the license header containing that information.
_________________
Community Admin
Back to top
View user's profile Send private message
TheWebGuy



Joined: 19 Jun 2005
Posts: 20

PostPosted: Fri Jan 20, 2006 3:22 am    Post subject: Reply with quote

Thanks for the quick response, Nick.
Using the header-line option is exactly what I needed. Knew there had to be a simpler way to do it.

Smile
Back to top
View user's profile Send private message Visit poster's website
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