BleepingComputer.com: Creating Login Sessions

Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Creating Login Sessions

#1 User is offline   milzee 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 108
  • Joined: 20-July 05
  • Gender:Male

Posted 27 November 2005 - 07:44 AM

I'm just finished learning javascript and have just starting learning about php, and anyway what i would like to do is create a profile system like www.myspace.com or http://spaces.msn.com

how would i go about creating a login system, so when a user logs on, they are taken to their profile, so they can edit it?

MIlzee

#2 User is offline   ColdinCbus 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 312
  • Joined: 30-June 04

Posted 29 November 2005 - 07:38 PM

Usually something like that is pretty advanced. Do you want it as a stand alone page or a index.php?page=user_cp

I usually make an user_cp.php file that handles all the functions the user can edit in their profile and also a session.php page that handles the input from the login, setting of cookies etc for the web application.

#3 User is offline   milzee 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 108
  • Joined: 20-July 05
  • Gender:Male

Posted 07 December 2005 - 03:29 AM

I Can Use The Index.php? System, Because I Just Installed PHP And Now Ready To Start Learning About It.

#4 User is offline   ColdinCbus 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 312
  • Joined: 30-June 04

Posted 11 December 2005 - 03:01 PM

If you have a database, this tutorial works well - http://www.devshed.com/c/a/PHP/Creating-a-...P-Login-Script/

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users