Current location: Hot Scripts Forums » General Community » Script Requests » SIMPLE... php register..login & personal page dedicated to person logged in!


SIMPLE... php register..login & personal page dedicated to person logged in!

Reply
  #1 (permalink)  
Old 12-14-07, 02:50 PM
one2mel one2mel is offline
Newbie Coder
 
Join Date: Dec 2007
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
SIMPLE... php register..login & personal page dedicated to person logged in!

Hi Everyone,

I'm trying to create a mini networking site for a small project.

I have created my MySQL database and the html form together with register.php which successfully enters information into the database.

I have a simple login that works and takes me to the memberhomepage.php- which i have designed as a dummy page for now...
BUT
can any one help or direct me to make each memberhomepage unique to the user that has signed in??
not sure how this would work..

Thanks..
Mel.
Reply With Quote
  #2 (permalink)  
Old 12-15-07, 02:23 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
If you have the members personal information stored in the database,
like their username, password and other information, then when a member logs in,
the script needs to query the database for this member and verify that they are whom they claim to be.
If everything checks out good then display ther username on the page.
This way you can use one web page for all members.
If you keep passing their username from page to page,
then you can make it appear like this is their personal website.
__________________
Jerry Broughton
Reply With Quote
  #3 (permalink)  
Old 12-16-07, 02:35 AM
one2mel one2mel is offline
Newbie Coder
 
Join Date: Dec 2007
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Jerry for your reply....

Thats cool then! I have already managed to get the login working and also the members page. Therefore as you say I am probably nearly there!

I have been already working with the query statements, i think i have bad examples for this... could u (or anyone) suggest some good examples?

THanks..
Mel.x
Reply With Quote
  #4 (permalink)  
Old 12-16-07, 05:50 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 3,454
Thanks: 0
Thanked 140 Times in 137 Posts
When I have problems trying to figure things out, I always go to the PHP manual first. http://php.net/mysql

If you still are having difficulties then post the code where you are having problems and we will try to help.
__________________
Jerry Broughton
Reply With Quote
  #5 (permalink)  
Old 12-18-07, 08:32 AM
one2mel one2mel is offline
Newbie Coder
 
Join Date: Dec 2007
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
thanks Jerry for your help and advice.. I will attempt the code and see how it goes.
Regards
Mel.
Reply With Quote
  #6 (permalink)  
Old 12-20-07, 02:48 AM
The_Demon The_Demon is offline
Newbie Coder
 
Join Date: Dec 2007
Location: The burning depths of hell
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
I highly recommend w3chools for learning this stuff thoroughly
__________________
The Demon
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classified Ads skipper23 Perl 3 11-22-05 02:22 AM
Looking for a simple PHP login/register script Wheeler Script Requests 2 07-27-05 12:30 PM
Quick Question for you php guru's Tokahashi PHP 3 04-09-04 12:00 PM
Need Epinions-lite system in PHP & MYSQL wali001 Job Offers & Assistance 4 01-12-04 06:02 AM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM


All times are GMT -5. The time now is 09:14 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.