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

Unable to read license properties.

Author Message
kashyap



Joined: 25 May 2016
Posts: 2

PostPosted: Wed Mar 08, 2017 1:24 pm    Post subject: Unable to read license properties. Reply with quote

I have created license file using ionCube Encode GUI. Also I have encoded files using license key passphrase. I am able to encode files successfully, and it's working fine.
But when I am going to list out properties of license file, I am not able to do so.

Here is my code :
Code:

<?php

$licenseProperties = ioncube_license_properties();
if ($licenseProperties === false)
{
    echo "Unable to read license properties.";
    return;
}

$ip = $licenseProperties['ip']['value'];
$product = $licenseProperties['product']['value'];

$fileInfo = ioncube_file_info();

if ($fileInfo === false)
{
    echo "Unable to read file information.";
    return;
}

$expiryTime = $fileInfo['FILE_EXPIRY'];
$expiryTime = date(DATE_RFC850, $expiryTime);


echo <<<HTML
<html><body>Welcome, $product!<br  />
Your license ip is $ip<br  />
You have access to the following features:<br  />
HTML;

echo "</body></html>";

?>


When I am running that script using browser, I am getting output like this :
Code:
Unable to read license properties.


Can anybody help me, how can I get out of this ?

Thanks in Advance
Back to top
View user's profile Send private message
alastair



Joined: 23 Feb 2010
Posts: 190

PostPosted: Fri Mar 10, 2017 10:36 am    Post subject: Reply with quote

Hi,

It's best to ask such questions in our Support Help Desk at http://support.ioncube.com

Please create a ticket for this in our support help desk and attach your project settings file (.iep file). The project settings file will help us to assist you further.
_________________
Alastair

ionCube
Back to top
View user's profile Send private message
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