Hi guys, ive wrote a user profile script, and its recently been discovered that viewing this page gives the user admin rights :S
Ive discovered that one of my sessions ($_SESSION['mid']) is been changed to the mid of the profile your looking at.
mid is the unique id of each member.
I cant see where the session is been changed. Follow the link below for the code.
http://www.mublu.com/userprofilesource.php
Spent a good couple of hours looking now
Thanks