• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

what should i do with this code

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


 
Saloon Keeper
Posts: 7176
166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 74384
334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 13401
300
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:unencrypted


That should read unhashed.
 
Raimid Xu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??


 
Sheriff
Posts: 7111
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it worked
i wrong typed it
i should've been more careful
thank you all
especially for knute
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic