Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-28-2007, 07:56 PM   PM User | #1
sirborder
Registered User

 
Join Date: Apr 2006
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
sirborder is an unknown quantity at this point
Question How would I go about this?

I am trying to complete a members system. I have finished the register, login, and logout parts and am now on the members profile part. I don't really know how to go about this. I don't have much coding experience and that is why I'm doing this. Does anyone have any suggestions?

Thanks,
Sirborder
sirborder is offline   Reply With Quote
Old 03-28-2007, 08:08 PM   PM User | #2
aedrin
Senior Coder

 
Join Date: Jan 2007
Posts: 1,648
Thanks: 1
Thanked 58 Times in 54 Posts
aedrin will become famous soon enough
What is the problem you are experiencing?

It helps to describe what part you don't understand, so that we don't have to guess at it.
aedrin is offline   Reply With Quote
Old 03-28-2007, 09:14 PM   PM User | #3
sirborder
Registered User

 
Join Date: Apr 2006
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
sirborder is an unknown quantity at this point
This is for a text based game in the long run. I want to know how to dirent someone to their caractor when they log in. Also, I want them to be able to edit their profile.
sirborder is offline   Reply With Quote
Old 03-28-2007, 09:31 PM   PM User | #4
the-dream
Regular Coder

 
the-dream's Avatar
 
Join Date: Mar 2007
Location: Northamptonshire, UK
Posts: 477
Thanks: 8
Thanked 4 Times in 4 Posts
the-dream can only hope to improve
When they register give them a unique id then on there charictor have in the url like:

PHP Code:
myPage.php?id=0029837746465747 
__________________
Branchr Advertising Network
the-dream is offline   Reply With Quote
Old 03-28-2007, 09:35 PM   PM User | #5
aedrin
Senior Coder

 
Join Date: Jan 2007
Posts: 1,648
Thanks: 1
Thanked 58 Times in 54 Posts
aedrin will become famous soon enough
The best solution would be to use session variables to store the current user's character.

Then in the profile edit page you would look at the session, and use that to load up a form/etc. to manage it.
aedrin is offline   Reply With Quote
Old 03-28-2007, 09:39 PM   PM User | #6
sirborder
Registered User

 
Join Date: Apr 2006
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
sirborder is an unknown quantity at this point
And how would I go about this? Sorry, but I am new at this.
sirborder is offline   Reply With Quote
Old 03-28-2007, 11:26 PM   PM User | #7
aedrin
Senior Coder

 
Join Date: Jan 2007
Posts: 1,648
Thanks: 1
Thanked 58 Times in 54 Posts
aedrin will become famous soon enough
http://us2.php.net/manual/en/ref.session.php
aedrin is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:18 PM.


Advertisement
Log in to turn off these ads.