Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: members on site

  1. #1
    afe
    afe is offline
    Banned
    Join Date
    Sep 2007
    Posts
    146
    Thanks
    43
    Thanked 0 Times in 0 Posts

    members on site

    Hello does anyone know how to make members on your site. For example I have .php pages and I would like to have people signing up and they get a page of their own where they can edit (colours, pictures, text).

    Thanks.

  • #2
    Banned
    Join Date
    Apr 2007
    Posts
    428
    Thanks
    29
    Thanked 5 Times in 5 Posts
    if ($member == TRUE) {
    include ("member.php");
    }
    where member variable can be set with sessions

  • #3
    afe
    afe is offline
    Banned
    Join Date
    Sep 2007
    Posts
    146
    Thanks
    43
    Thanked 0 Times in 0 Posts
    So where do I put that?

  • #4
    afe
    afe is offline
    Banned
    Join Date
    Sep 2007
    Posts
    146
    Thanks
    43
    Thanked 0 Times in 0 Posts
    Anyone please?

  • #5
    Regular Coder Rappa's Avatar
    Join Date
    Nov 2005
    Location
    LI
    Posts
    356
    Thanks
    21
    Thanked 9 Times in 9 Posts
    Well he gave you a VERY general example of how its done. You will need a lot more code than that, but if you google it im sure youll find somthing.

  • #6
    afe
    afe is offline
    Banned
    Join Date
    Sep 2007
    Posts
    146
    Thanks
    43
    Thanked 0 Times in 0 Posts
    if ($member == TRUE) {
    include ("member.php");
    }

    what does this do?

  • #7
    Regular Coder
    Join Date
    Jul 2005
    Location
    LA, California
    Posts
    202
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it says if the member there a member it includes a page that only they can see
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    There are 3 kinds of ppl those who can count and those who cant
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Script-Megafest.com Coming Oh so very soon

  • #8
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    It doesn't do anything at all.

    You can do this with PHP, granted that you have some experience with PHP.

    It appears you do not.

    So your best bet would be to find an already created solution. You could use a search engine to do that.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •