Restrict access of user profile page to user only
Hello,
RIght now I have made a dynamic user profile link eg. www.website.com/profile.php?id=123 which I want access only to the user with id 123, so only 123 can view and update his profile information. (and www.website.com/profile.php?id=456 can only be accessed and edited by user with id 456)
Dreamweaver's restrict access to page function only restricts page to log in, so as long as you are logged in you can view and edit any user's profile.
What do I need to do to my profile.php to restrict the page to specific logged in user?
Thanks!
Regards,
Svnelvn
