Skip to main content
Participant
December 26, 2007
Question

Creating Personal Profile Pages

  • December 26, 2007
  • 2 replies
  • 619 views
Hello,

I'm using DW CS3 with the Toolbox extension. Basically, I want to create a site where users can post their own profile page. Each user would need to register, then login.

I can create the login, profile and edit profile pages, no problem; but how do I direct a user so that when logged in, they only see their profile page? Right now, when logging in, it always points to the same profile page.

Is there a tutorial on this specific topic? Do I need to use Session variables?

I'm using WAMP, mySQL and PHP.

Regards,

-Hyperbola
This topic has been closed for replies.

2 replies

January 31, 2008
I too am using DWCS3 with ADDT I am trying to do the same thing
I want to direct members to their own profile page after clicking a link , or logging in , and enable them to EDIT their profile, not only view
I don't really understand how to do what you describe could you please go into a litle more detail
How do I filter database information using the MM_username?
What are the steps I need to make?
I can open a new PHP page and insert a recordset but when I go to filter by I cannot find the MM_username
How do I create the page ?
I open new PHP page name it My Profile insert a recordset....... then what ? filter by what .......?
I am getting confused

so.... when someone logs in Dw creates a default session variable?
that can be used to filter database information by filtering the information using the MM_username ?

Any help would be much appreciated thanks

Inspiring
December 29, 2007
If you are using the Dreamweaver User Authentication easiest way is to filter their content in the database is with Dreamweaver default session variable created when they login named MM_Username.

So if they login in using their email then MM_Username session would hold what their email is i.e. yourname@example.com. You would filter the database on their username field by the session MM_Username.