Jump to content

mr_michael

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mr_michael's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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?
×
×
  • 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.