LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2006, 11:55 AM   #1
climbingmerlin
Member
 
Registered: Mar 2004
Location: UK
Distribution: Fedora, OpenSuse
Posts: 91

Rep: Reputation: 15
php getting environment variables question?!?!?


Hi all,

I am developing an internal application for the company that I work for using PHP5.0 and apache2.0. The basic idea is to allow a user to browse to the first page of the application, and hopefully obtain their login id like "joeb" and the interrogate our LDAP server for the rest of the user information, and groups that this user belongs to.

As there will not have to authenticate with the webserver as the application is totally internal, I can not use the $_ENV['REMOTE_USER'] variable as this has not been set. Is there another way that I can obtain the username from either Linux or Windows when the user has not authenticated with Apache?

The reason I am looking at this functionality is that I need to be able to implement some auditing and access control. Can apache link into LDAP so that it can handle the authentication such as how IE+IIS+AD all link together?


Any pointers would be much appreciated.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment Variables - where do they go!?! iansoundz Linux - General 7 11-17-2005 02:27 AM
environment variables in c++ s3b0 Programming 6 08-27-2004 09:19 AM
when to use environment variables? mark_2811 Programming 2 02-23-2004 06:09 PM
really easy question: why won't my environment variables export digitized_funk Linux - Newbie 3 10-22-2003 05:22 AM
Question about php variables lostboy Programming 5 08-07-2003 07:38 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration