09-17-2003, 08:16 AM
I am using a Trouble ticket system (online)
but I just need 3 features added to it.
I need the abilty to pull the machine name, current user, and IP from the registry and Automaticlly place this into the form ... it is NOT required for this info to be placed into the database. The reason I do not need it placed into the database is because the customers use roaming profiles and use different machines.
Thanks for any help. I hope I have provided enough informaion.
09-17-2003, 08:39 AM
The registry of the client machine or your server? And I don't understand the meaning of a Trouble system, I openned your page and it's just an authentication page asking for username/password. Maybe it's because of my bad English (I've never seen this term), but if you wana get the client machine's registry, I don't think that it's possible using PHP. But for getting the IP of your user, you can use $_SERVER["REMOTE_ADDR"]
09-17-2003, 08:53 AM
Registery of the client. In fact i guess, now that I think about it, it may not be nessesary to pull this from the registry...
A trouble ticket system is a web (this one is) based system for uses to submit trouble tickets - used for tracking and time accountability.
I just need to get the machine name! Some how!
u can log on as:
09-17-2003, 07:09 PM
Thanks for your explanation on the subject. But why do you need to get my machine name and what do you exactly mean by machine name? I'm not on a network for example and what could be the name of my machine? Is it the user that I use in Windows or what? You need a unique serial number??
09-17-2003, 07:44 PM
Ip = Possible
Going through somone elses register = not possible? unless you use a windows exploit
09-17-2003, 09:52 PM
IT does not have to go through the registery... there is a windown global varible (%computername%) that can pull the computer name. My question is how do i get PHP to display this info?
Because when a user submits a trouble ticket I want the machine name to be pulled into their form automatically because we KNOW where each and all PC are on our network. If we know WHAT machine has the prob and we dont have to have the user INPUT the machine name (because they are also lazy) then this just makes our job easier!
Again .. thanks for your time.
09-18-2003, 12:23 PM
You say that you know the place of each computer, right? Ok, why don't you get the IP (you can find your computer in the network if you have it's IP) and then match it against a table that you made in mySql, this table has 2 fields, IP and Computer Name, so, for each new computer in your network you have to add it's IP and name to that table and then you can easily pull it out later. How's that? :rolleyes: