Profile view by guest

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Profile view by guest

    <?php
    $name = $_SESSION['name'];
    $memid = $_SESSION['id'];
    if($memid>0)
    {
    echo "welcome $name";
    }
    else{
    //login link or form here
    }
    if(isset($_REQUEST['whoname]))
    {
    //member profile info here
    if(isloggedin()==true)
    {
    ///only login member can see what here
    }
    //more profile here
    }
    ?>
    i am think may be this example above will work for me or What do you think?
    Last edited by adex3g; 18.01.11, 15:54.
    have connected with http://adexchat.com ?
    Fun up with
    http://forum.adexchat.com

    #2
    It as if looks like that should work for you. only on slight error that i can see with the above code.

    $_REQUEST['whoname] should be $_REQUEST['whoname']
    Last edited by wap2k; 08.02.11, 07:02.

    Comment


      #3
      Many people view only one reply. Pls comment on the above code. I have not yet text it.
      have connected with http://adexchat.com ?
      Fun up with
      http://forum.adexchat.com

      Comment

      Working...
      X