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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Create Logins for Clients Only to See There Pages

    I have a series of editable forms and reports that I have created for clients to fill in, edit, save, print etc. in a web application based on PHP and MySQL.

    I now want to allocate these to individual clients (about 15) and a secure login for them with the ability to be able to only see their forms and their reports and none of the other clients.

    Suggestions as to how we could go about this conceptually or in detail would be appreciated or if any one knows of any existing software that would assist in achieving this.

    Any recommended books, articles etc would also help.

    Thank you as always

    Regards,


  • #2
    Regular Coder
    Join Date
    Jul 2005
    Location
    LA, California
    Posts
    202
    Thanks
    0
    Thanked 0 Times in 0 Posts
    easy, if i get some time tonight i'll go ahead and make you up a rough outline
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    There are 3 kinds of ppl those who can count and those who cant
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    Script-Megafest.com Coming Oh so very soon

  • #3
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Does your server run Apache? If so you could use .htaccess to do what you are wanting to do. There is a pretty good tutorial on JavaScript Kit about it.
    OracleGuy

  • #4
    New to the CF scene
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Yes, we are running Apache. Thanks for the advice. All help is Greatly appreciated.

    Just begining all this and having fun!!!! Starting to get the swing of it!

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sessions, user identification

    PHP has built-in functions to work with sessions; this forms the basis of user identification and authorisation.

    I haven't read the article in full, but User identification using cookies in PHP/MySQL on Dev Articles looks like a very useful starting point for setting up user identification and authorisation.
    You can find more about sessions and how to use them on the PHP website.
    Regards,
    Ronald.
    ronaldvanderwijden.com


  •  

    Posting Permissions

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