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
https://forums.phpfreaks.com/topic/260708-company-directory-using-php-and-ldap/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.