Getting more information to pass to PHP
| From: | Aaron Kenney | Date: | Wed, 01 Mar 2006 22:07:07 +0000 |
| Subject: | Getting more information to pass to PHP | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-26734@lists.php.net to get a copy of this message | ||
OK... now that I've obtained the username for one project, I have
another project, but this one looks rough.
Here's the goal:
1. When the user visits the page, find the user that is logged in locally.
2. Use the info from step #1 to obtain any e-mail address(es) from the
Active Directory.
3. Pass the e-mail address(es) to PHP and send an e-mail to the
address using mail().
#3 is cake. #1 and #2 are the parts I need help with. I have tried to
do this through PHP LDAP functions and have failed miserably. Anyone
know a way I can get the info I need?
-Aaron Kenney