
-----------------------------------
devilwhat
Thu Jun 08, 2006 9:17 am

login source code - could be refined to access something
-----------------------------------
this is a login i createdconst rightname:="programer"
const rightword:="programming"
var name:string
var password:string

loop
put "Enter your username: "..
get name

if name not=rightname then
    put "Sorry, that is the incorrect username."
end if

if name=rightname then
    put "Welcome programer. Enter your password: "..
    get password
end if

if password not=rightword then
    put "Sorry, that is the incorrect password."
end if

if password=rightword then
    put "You have successfully logged in.\n\n\n"
end if

end loop


-----------------------------------
- IzAk -
Thu Jun 08, 2006 11:10 am


-----------------------------------
what's it a loggin to?

-----------------------------------
_justin_
Thu Jun 08, 2006 12:01 pm


-----------------------------------
he just wrote the login part you can add your own program to so you have to have users login and what not

-----------------------------------
Clayton
Thu Jun 08, 2006 3:11 pm


-----------------------------------
this would be much more useful if you were to send username and password info to an encrypted file (there are many topics out there about encryption) and used some kind of GUI to center the input instead of the upper left corner :D

-----------------------------------
Jimbo 420
Fri Jun 09, 2006 12:30 pm


-----------------------------------
yeh this is pretty plain a gui or something would make it a lot less plain
