Hello list.. I have an issue.. I have users athenticating to apache using the ldap_mod_auth module, when they authenticate it populates the LDAP_USER variable. What I need is to also populate the REMOTE_USER variable for some other CGI's, I know I could change them, but there are several written I C so I would actually like to avoid this.
I want to use php for most of my content. The CGI I have refered to will be php in the future. I have tried to use the apache_setenv function to no avail. My syntax is apache_sentenv(REMOTE_USER,$user) $user contains the value of LDAP_USER. $user DOES contain the correct value. I have also trie the putenv() function, but it didn't work as well. I may be misusing the apache_setenv function since it has yet to be documented. Any examples, advice, or a different procedure would be well appreciated. Thanks in advance! jrmy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php