Jump to content

license


unidox

Recommended Posts

I have this script to check if the license if valid:

 

$url = "http://www.site.com/license.php?key=" . SITE_LIC . "&ref=" . $_SERVER["HTTP_REFERER"] . "";
$lic = @fopen($url, "r");
$lic = @fread($lic, 10);

if ($lic == "0") {
header("Location: http://www.site.com/index.php?p=lic_invalid");
exit();
}

 

I know I have the correct lic key and refferer. Just it still keeps forwarding to the lic_invalid page.

Link to comment
https://forums.phpfreaks.com/topic/106389-license/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.