Harddisk serial no by php code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mrtblt
Forum Newbie
Posts: 5
Joined: Mon Dec 10, 2007 7:40 am

Harddisk serial no by php code

Post by mrtblt »

May i detect user's harddsik serial no by php code?

Why i want this?

I want to design a site which can be runned after login This login system also checks the user's harddsik no and allows connection only from the registered terminals. If you have another method to suggest me, I appreciate it.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

PHP resides on the server. It knows very little about the user (which is optionally sent by the browser anyways).

To answer your question, no.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

On the server computer you can use exec() (and related functions) to run program and capture their output. You could use this to run a program that gave you system information. For the client you would need to use cookies or look at browser values returned in the $_SERVER superglobal. To better detect clients you may want something like a Java app to inspect the system and communicate back system information.
(#10850)
Post Reply