can any one know how to make code for this i attach.
Printable View
can any one know how to make code for this i attach.
i can't seen a example.
I am confused?!?
What exactly are you trying to do?
Authenticate a user name and password against a MySql Database Server, or first get some information from the MySql Database, and compare the user name a password of a row within a table?
Gary
i want to make a server program that read userlogin.
I am sorry, but you really aren't making much sense?!?
Gary
example of eathena login server, character server, and map server, only i dea that i want to code not the same as ragnarok server.
Am I supposed to know what that means? Because I don't!!
Sorry about late reply. our state has been typhoon.
Hey,
So what you are saying is, all you want to do is authenticate the username and password that the user types into the username and password textboxes, against the information stored in the database, correct?
i.e.
GaryCode:select * from users where users.username = @username and users.password = @password
yes like. that but the server will check for that. client only send password and username to server.
Are you saying to are wanting to put a web service, or something else onto the MySql Database Server, which your Windows Application can then talk to?
Gary
I would suggest that you spend some time planning out exactly what it is that you are trying to achieve, as it sounds as though you don't have a solid plan about how you are going to proceed.
If you are looking for a true Client/Server, then take a look in the Code Bank for a submission by jmcilhinney, it has a good example of how this can be achieved.
Gary
maybe this idea is more understandable.
Hey,
What you have described there could either be a web service, or a true client/server set up.
Do you have a preference about which one you take?
If you want to create a web service, have a look here:
http://www.15seconds.com/issue/010430.htm
If you want a client/server set up, have a look here:
http://www.vbforums.com/showthread.php?t=587341
Gary