function botcha_generate_secret_key in BOTCHA Spam Prevention 6.2
Same name and namespace in other branches
- 6 botcha.pages.inc \botcha_generate_secret_key()
- 7 botcha.pages.inc \botcha_generate_secret_key()
- 7.2 botcha.admin.inc \botcha_generate_secret_key()
Generate a random secret key.
2 calls to botcha_generate_secret_key()
- botcha_admin_settings in ./
botcha.admin.inc - botcha_admin_settings_submit in ./
botcha.admin.inc - Submission function for botcha_admin_settings form.
File
- ./
botcha.admin.inc, line 14 - Implementation of botcha administration forms.
Code
function botcha_generate_secret_key() {
return md5(uniqid(mt_rand(), TRUE));
}