Jump to content

Company Directory Using PHP and LDAP


gavinr98

Recommended Posts

Hello,

 

I was given some php code to use for an online company directory and need some help. I am not very good at PHP so any help would be appreciated. I have several php pages that are working fine however the part that is not working is the group membership lookup. The way this works is I have a wordpress plugin that authenticates the user to Active Directory when they login to the site it checks for the group that the users belongs to, the part that is not working is when they login it does not check what group they belong to and just logs them in as a regular user even if they are part of the group... attached is the code, on page1 I have removed a lot of the code which is working correctly, the part that does not is the line that calls page2... any help would be great.

 

18041_.php

18042_.php

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.