• Post Reply Bookmark Topic Watch Topic
  • New Topic

what should i do with this code  RSS feed

 
Raimid Xu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


 
Tim Moores
Saloon Keeper
Posts: 4024
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't know, how can we? Why do you think you need to do anything with it? One thing is certain, it shows signs of severe security deficiencies: apparently passwords are stored in unencrypted form, and it may be open to SQL injection.
 
Campbell Ritchie
Marshal
Posts: 56534
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
Thank you for using the code tags, but don't try [color=xxx] tags in code; they don't work and I had to remove the tags.
 
Stephan van Hulst
Saloon Keeper
Posts: 7973
143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:unencrypted

That should read unhashed.
 
Raimid Xu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to make is login form to open Data_Buku form
so there is 2 form  and that code is the code of login button
i want to make the user data that login appear at the next form
i dont know the code so i thought about making another colomn to
my database the coloumn is the status if the user is login or not
so i put the code like the line 10 - 11 but it didnt working

can you help me to fix it??
or can you tell me another way??

i'm a former delphi7 user
in delphi the code is like
(form2.show;
form2.edit.text:=edit.text;)
how we write it in java netbeans??


 
Knute Snortum
Sheriff
Posts: 4276
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This doesn't look correct:

Should be:

statement.executeUpdate("update user_data set Status_Log='1' where User_ID='"+User_ID+"'");
 
Raimid Xu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it worked
i wrong typed it
i should've been more careful
thank you all
especially for knute
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!