You can create it the same way you create it in any other client-server application (yes, I'm assuming you're connecting to a remote host):
- Take the username and password
- Check them against the server (but please, do so securely. If not possible to use encryption, at the very least apply some hashing to your user's info)
- If server responds ok, the user is logged. If not, the user is not logged
The specifics are up to you, and I strongly suggest you do your own research for them.
Again, I'm downvoting your question for lack of any provided details whatsoever, and apparent lack of any effort on your part
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
Last Visit: 31-Dec-99 19:00 Last Update: 31-Mar-15 15:30