Menu

use of phpgedview authentication

Help
srm
2009-10-29
2013-05-30
  • srm

    srm - 2009-10-29

    I will like to use the phpgedview user authentication as mechanism  to control access to parts of my family history site.
    One way may be to add some code in the .htaccess file in the directory to get the authentication via phpgedview login screen.
    Can somebody suggest how this can be accomplished.

     
  • Greg Roach

    Greg Roach - 2009-10-29

    Your other apps can share the PGV login by looking for a session-variable $_SESSION, and checking the access levels in the table pgv_users.

    You might need to alter the cookie path in session.pph, depending on the layoutt of your site.

     

Log in to post a comment.