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 -> Programming

trail period for my software?

Author Message
carsten888



Joined: 11 Mar 2008
Posts: 17
Location: Tilburg, Holland

PostPosted: Thu Aug 07, 2008 3:40 pm    Post subject: trail period for my software? Reply with quote

I want to make a demo of my software with a trail-period. (its PHP). So I can use the unix-time for what time it is, but not the startoff-time (when it was installed). Is there a variable (maybe in ioncube) that can be used for this?
_________________
pages-and-items.com
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2757

PostPosted: Fri Aug 08, 2008 12:56 am    Post subject: Reply with quote

I don't quite follow what you want to do, but expiry is based on the time when files were encoded or when a license file was generated, and not on installation time. You can determine the expiry time by calling ioncube_license_properties() or ioncube_file_properties(). Check the Loader API section of the user guide PDF for more details.
_________________
Community Admin
Back to top
View user's profile Send private message
carsten888



Joined: 11 Mar 2008
Posts: 17
Location: Tilburg, Holland

PostPosted: Fri Aug 08, 2008 9:33 am    Post subject: Reply with quote

ah, I see. Unfortunately that is only for the Pro and Cerberus Editions.

Even then I would have to use online encryption to generate a license file containing the time of download. hmmm.

no workaround?
_________________
pages-and-items.com
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2757

PostPosted: Fri Aug 08, 2008 11:59 am    Post subject: Reply with quote

You could put some phone home code into your scripts to request a license from your server automatically, but issuing a license file with the expiry in is probably best. Note that the Windows Pro and Cerberus Encoder comes with a license generator for Linux as well as windows, and so if your server is Linux and you have permission to run programs on the server, generating license files dynamically is then quite easy. For trial downloads you might setup a cron job to provide a daily license file that's good for however long you want the trial period to be, of perhaps a license file would get emailed to the person who requested it so that you can monitor who is requesting evaluations.
_________________
Community Admin
Back to top
View user's profile Send private message
carsten888



Joined: 11 Mar 2008
Posts: 17
Location: Tilburg, Holland

PostPosted: Fri Aug 08, 2008 12:32 pm    Post subject: Reply with quote

it's totally clear now. thank you very much.
_________________
pages-and-items.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> Programming 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