HostUWeb Posted June 21, 2009 Share Posted June 21, 2009 Hello, A buddy of mine purchased the licensing addon with his owned script and I was thinking of purchasing the addon. But I have a couple questions helping him set his up first lol. After everything's working and tested by us I will order it. We setup a php page with the contents of check_sample_code.php into it and I took out the debug option but I suspend the license and no matter what it still shows the page running. Is there a place to customize the suspended message? All I simply did was put code at the top of the script with the license # and it did call back and set the IP and URL ad directory however it will not suspend for some reason is where I am confused. All I want it to do is go to a license suspended / contact page on his site if it is suspended. Any help is greatly appreciated. Thanks, Derl 0 Quote Link to comment Share on other sites More sharing options...
EastsideHosting Posted June 22, 2009 Share Posted June 22, 2009 I've coded a friends Licenseing sample code. if ($results["status"]=="Active") { echo "You're Active"; if ($results["localkey"]) { # Save Updated Local Key to DB or File $localkeydata = $results["localkey"]; } } elseif ($results["status"]=="Invalid") { echo "You're Invalid"; } elseif ($results["status"]=="Expired") { echo "You're Expired"; } elseif ($results["status"]=="Suspended") { echo "You're Suspended"; } Where it shows echo ""; You can change to your text or include a page or a redirect. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.