Thanks
A few issues:
1) Are the parameters to authenticate() not necessary? I haven't figured out exactly how that function works.
code:
$user = $userob -> authenticate();
2) strcasecmp() usage:
code:
if strcasecmp($olduser,$newuser)==1 {
should be
code:
if (!strcasecmp($olduser,$newuser)) {
Or maybe your original code is easier to understand. I'm not sure.
code:
if (strtolower($olduser) == strtolower($newuser)) {
3)
code:
$upandlow = true;
should be
code:
$upandlow = 1;
4)
code:
$newmods = addslashes($newmods);
should be
code:
$newmods_q = addslashes($newmods);
I've made some enhancements to my copy of the hack:
a) Expanded explanation of what the hack does in the entry form.
b) Added more safety checks, including those done by adduser.php.
Should I merge my changes into your version and upload that?