Author |
Topic  |
|
sahil
Starting Member
8 Posts |
Posted - 20 July 2001 : 02:14:51
|
i found a bug in the 3.1 release of the forum which i reported in other forum but i need solution of it the bug is when the user sign ups suppose if i put Digitally Urzz [ :) ] it works fine and the registeration completes with a smily icon in the end of the username. but if u look into your database it'll be like this
Digitally Urzz <img src=icon_smile_clown.gif border=0 align=middle>
and when user tries to login through user name Digitally Urzz it gives the Invalid username/password. error and which results that user can't login. i need the soultion of it i can't find the page where it compares the USERNAME field with the databse M_Name field i though to change the code of comparing the username(form) field witht he M_name(database) field with this if left(M_name,(instr(M_name,"<img src"))-2) then loginok=true
but i m unable to find the code which compares the form field with the database field where i can've that code in which file or what else can be the soultion. (i need the icon in the end of username) Thanx, Sahil
|
|
sahil
Starting Member
8 Posts |
Posted - 20 July 2001 : 02:17:43
|
quote:
sorry i putted something wrong in the code the code line is if left(M_name,(instr(M_name,"<img src"))-2)= request.form("username") then loginok=true ...... ...
Sahil
|
 |
|
Spoon
Average Member
  
Ireland
507 Posts |
Posted - 20 July 2001 : 07:05:21
|
quote:
quote:
sorry i putted something wrong in the code the code line is if left(M_name,(instr(M_name,"<img src"))-2)= request.form("username") then loginok=true ...... ...
Sahil
I think whats wrong is that when you sign up the form code converts to [ :)] to <img src......> But when you log in, it doesnt actually convert the [ :) ] once again to <img src.....>, Gimmie a couple of hours, ill see of i can find the code...
Regards,
Spoon, (ya all love me right?) |
 |
|
sahil
Starting Member
8 Posts |
Posted - 20 July 2001 : 23:11:50
|
sure man. i need its soultion hopefully you'll solve it
|
 |
|
|
Topic  |
|