Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Get Windows login

 
   Database Forums (Home) -> PHP RSS
Next:  PDF to picture  
Author Message
Lado.Leskovec

External


Since: Sep 11, 2007
Posts: 1



(Msg. 1) Posted: Fri Sep 14, 2007 4:48 am
Post subject: Get Windows login
Archived from groups: comp>lang>php (more info?)

Hi!

I was given a task to develop a php based application. All well, but
now my boss wants me to make it more "user friendly" in a manner that
they won't have to write in their usernames and passwords, which they
already have too many.

I figured, that I might be able to solve it, if I could somehow get
windows login, but my atempts to find an apropriate function were
unsucessfull.

Someone suggested the use of WinBinder to a similar question somewhere
else, but reading through documentation, I couldn't find what I was
looking for. I also found posix_getlogin(), but it appears not to be
available on Windows platform. If I try the get_current_user();
function, the return value is SYSTEM... Can I somehow work with
$_SERVER["REMOTE_USER"] perhaps? If I try it, the return is empty (or
at least echo returns nothing).

I'm developing under WinXP, Apache 2.2, PHP 5.2, however after I
finish, it will be on Windows Server 2003 Standard edition... The
company does use Active Directory, but I had no idea what PHP LDAP
functions manual was talking about, so if it's possible, I'd rather
avoid it.

I know this question is a bit futile to ask, since noone wants his
login to be visible to just any site, but any comments on the subject
would still be greatly apretiated.

Best regards,
Lado

 >> Stay informed about: Get Windows login 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Capturing Windows Login Name - I know it is not possible to get Windows login name using PHP because it is a server-side script, but I dunno whether anyone has tried using JavaScript in conjuction with PHP to capture the login name and save it as a php variable. Here is the JScript I....

how to create 'remember login' functionality during login - Hi! could anyone give me some clue that how to create 'remember login' functionality during login Thanks Sukalyan

Multiple login without db - I'm newbie. Just wonder, after googling for several hours: is it impossible to make a login script for, say, three different users and, after successfull login with username and password, redirect them to their destination (totally three destinations,...

secure login system - Hi group, I need a login system for some 'private' pages. Users should be pulled from a mysql DB. Now, i've read a lot on login systems, and somehow there's _always_ the discussion with sessions (hijacking), dynamic IPs/Proxies. One hand sessions on..

problems with login script - Hi, I can't get this script to work. I've used this exact script on other places and it works, but now i get this error. <code> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in..
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]