Quackster
a devbest user says what
Hello!
Must have VB6 on your comp
Since all of you know I am a Visual Basic, C#, PHP coder. I have made this little script which allows you to add, remove and edit licenses.
The VB6 reads the website, url path must be hidden also VB6 cannot be decompiled and you can edit the licenses using .ini files using a ini reader I placed in there
index.php
database
Download the source and find this...
Edit "
config.ini
Must have VB6 on your comp
Since all of you know I am a Visual Basic, C#, PHP coder. I have made this little script which allows you to add, remove and edit licenses.
The VB6 reads the website, url path must be hidden also VB6 cannot be decompiled and you can edit the licenses using .ini files using a ini reader I placed in there
index.php
PHP:
<?php
mysqlConn();
ConfirmKey($_GET['key'], $_GET['name']);
//---
// Start the functions
//---
function mysqlConn()
{
$q = mysql_connect("localhost", "username", "password");
$q = mysql_select_db("database");
return $q;
}
function ConfirmKey($key, $name)
{
$q = mysql_query("SELECT * FROM `keys` WHERE `key`='".$key."'") or die (mysql_error());
$q = mysql_fetch_array($q);
if(isset($key) == $q["key"] || isset($name) == $q["name"])
{
echo "License is correct!";
}
else if(!isset($key) != $q["key"] || !isset($name) != $q["name"])
{
echo "License is incorrect";
}
else if(!isset($key) || !isset($name))
{
echo "License is incorrect";
}
else
{
echo "License is incorrect";
}
}
?>
database
Code:
CREATE TABLE IF NOT EXISTS `keys` (
`key` varchar(111) NOT NULL,
`name` varchar(111) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Download the source and find this...
HTML:
Text = Inet1.OpenURL("http://localhost/license/index.php?key=" & LicenseKey & "&name=" & LicenseName) 'Opens the url source
Edit "
You must be registered for see links
" to the website where you have installed the PHP file.config.ini
Code:
[license]
name=
key=