Jump to content


Newbie question about logins


3 replies to this topic

#1 Yertsivad

    Young Padawan

  • Members
  • Pip
  • 28 posts

Posted 20 June 2005 - 08:35 PM

:rolleyes: I know this is a newbie question but I'll ask anyway: How do logins, on sites such as this one, work? I looked at the code on the login page on this site and came to the conclusion that it requires some type of special server that interacts with the JavaScript varibles, or somthing. I really have no idea how it works, so any insight would be helpful (Though don't make fun of me).

#2 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 20 June 2005 - 08:42 PM

This site uses Invision Power Board, which has it's own PHP-Based login system that interacts with a MYSQL database to handle logins. :)

#3 Mark

    Young Padawan

  • Members
  • Pip
  • 113 posts

Posted 20 June 2005 - 10:11 PM

Basically, you use a form to make the actual login boxes. That form goes to a php file which would log you in. That page would refer you to another page, where you are logged in. :)

#4 kschembri

    Young Padawan

  • Members
  • Pip
  • 81 posts
  • Location:Canada, EH?

Posted 21 June 2005 - 01:31 AM

Even simpler..look at it as an if else statement.

if username + password == correct
then do this.

if username + password == wrong
then do this.

The username and passwords are all stored on a different page ( mySQL database ) that know one can see without having server access.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users