I am building a website for a company who has a software that gets registered to the computer, and uses the computer name and user name of the pc. How can I retrieve those values without the user needing to fill it out?
I am using codeigniter if that helps any
You can’t. All PHP will ever see of the user’s machine is the IP address, from which you MAY be able to do a reverse lookup and get a hostname. But this hostname is not likely to be the actual machine’s name. Ditto for the user’s client-side username. A website has no business knowing how a user logged into their local machine.