I am working on a PHP/MySQL project to be used internally in our organization.
I would like to be able to capture one or more environmental variables from the client computer in a PHP script.
For example, all of our client machines have Winders variables as follows:
FULLNAME=John Smith
USERNAME=JSmith
I would like to grab these two bits of info and plug them into data entry form, but so far I have found that I am not smart enough to figure out how to do this in PHP.
Any help would be appriciated.
Thanks,
Daryl
Client Environmental Variables
Moderator: General Moderators
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Not possible to my limited knowledge of Windows and browsers. The problem is allowing a browser to read such variables and transmit them over a network could then easily be misused. Maybe someone knows some way of using an intranet setup for this? Proxy authentication values appended to variables on a limited set of URI's across the intranet?
Just grasping for straws...
Just grasping for straws...
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Intranet.
I may use LDAP for authentication then. I was thinking security is not a big issue and most of my users do not know how to set an environmental variable, so this was going to be an ease-of-use feature for my users (i.e. I can tell generally who it is without having them enter their name and/or password).
Thanks,
Daryl
I may use LDAP for authentication then. I was thinking security is not a big issue and most of my users do not know how to set an environmental variable, so this was going to be an ease-of-use feature for my users (i.e. I can tell generally who it is without having them enter their name and/or password).
Thanks,
Daryl