Hi, Barand! ..
I'm php newbie n I really like your php key generator..
but Now I don't know how to add your generated key to mysql database..
Definitely, I'm trying to change WoW default Keygenerator to xxxx-xxxx-xxxx-xxxx-xxxx format.
function createKeys()
{
global $Account, $DB;
if($_POST['num'] < 300)
{
$keys_arr = $Account->generate_keys($_POST['num']);
foreach ($keys_arr as $key)
{
$DB->query("INSERT INTO mw_regkeys (`key`) VALUES('$key')");
}
}
output_message('success', $_POST['num'].' Keys added to the database! Please wait to be re-directed...
<meta http-equiv=refresh content="3;url=?p=admin&sub=regkeys">');
}
It's in create function. I don't know where and how I've to use it to change.
Is there anyone can guide me to change?