Your probably better off using $_SERVER then getenv(). Put this at the top of a php page to see what is available. die ( "<pre>" . print_r ( $_SERVER , true ) ) . "</pre>" ) ; Brad On Sep 15, 2008, at 9:30 AM, Lentes, Bernd wrote:
hello,we created a website with content which should be presented differently, according to group-membership.We did this with AuthGroupFile in a .htaccess.For static html-pages it worked fine. We want now to generate dynamic content.In php it's possible to find the username with getenv("REMOTE_USER"). Is there a possibility to find out the group with something similar ? Bernd -- Bernd Lentes staatl. geprüfter Techniker Systemadministration Institut für Entwicklungsgenetik HelmholtzZentrum münchen Raum 35/1008f Ingolstädter Landstraße 1 85764 München-Neuherberg mailto:bernd.lentes@xxxxxxxxxxxxxxxxxxxxx phoneto:089/3187-1241 faxto:089/3187-3826 http://www.helmholtz-muenchen.de/idg/ ---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx