Link to home
Start Free TrialLog in
Avatar of baxleyb
baxleyb

asked on

PHP & ACTIVE DIRECTORY

Hello,

How would I be able to connect to an Active Directory Database and pull the following values using a php page?

Name
Location
Work Phone
Work Address
Work City
Work State
Work Zip
Work Country
Work Wireless
Work Pager
Work Fax

I also would like to create a page where a user can update their iformation.

I will start the points at 125 and increase them up to 500 based on the answers I receive. If someone can provide a snippet of code on how to accomplish this then I will give more points.

Thanks in advance for your help.

BB
Avatar of minnirok
minnirok

You'll want to use PHP's ldap functions:

http://www.php.net/ldap

And check this article out for an example (pg 2):

http://www.developer.com/lang/php/article.php/3100951
ASKER CERTIFIED SOLUTION
Avatar of LinuxNubb
LinuxNubb
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of baxleyb

ASKER

LinuxNubb,

Thanks for the information and I will definitely grant you the points. My next issue now is that the project requirements has changed and wil be done using a windows server so I need to write this in ASP.

Should I re-post on the ASP forum or is this code similar to the ASP version?

Thanks in advance.