Author |
Message |
carsten888
Joined: 11 Mar 2008 Posts: 17 Location: Tilburg, Holland
|
Posted: Thu Aug 07, 2008 3:40 pm Post subject: trail period for my software? |
|
|
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 |
|
 |
liaison ionCube Support
Joined: 16 Dec 2004 Posts: 2788
|
Posted: Fri Aug 08, 2008 12:56 am Post subject: |
|
|
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 |
|
 |
carsten888
Joined: 11 Mar 2008 Posts: 17 Location: Tilburg, Holland
|
Posted: Fri Aug 08, 2008 9:33 am Post subject: |
|
|
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 |
|
 |
liaison ionCube Support
Joined: 16 Dec 2004 Posts: 2788
|
Posted: Fri Aug 08, 2008 11:59 am Post subject: |
|
|
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 |
|
 |
carsten888
Joined: 11 Mar 2008 Posts: 17 Location: Tilburg, Holland
|
Posted: Fri Aug 08, 2008 12:32 pm Post subject: |
|
|
it's totally clear now. thank you very much. _________________ pages-and-items.com |
|
Back to top |
|
 |
|