You are here: Re: Hard Disk Serial Number « PHP Programming Language « IT news, forums, messages
Re: Hard Disk Serial Number

Posted by Iván Sánchez Ortega on 11/13/06 10:40

Erwin Moller wrote:

> I wouldn't know of a command that produces the serialnumber, but if you
> know such a command, you can use shell_exec() to execute it.

If you're using Linux, hdparm and sdparm are your friends.

On the otherhand, if you use a recent 2.6 kernel, you don't have to run any
external programs, but read some file inside /sys/class/.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

Si hay una probabilidad de que varias cosas salgan mal, saldrá mal la
que cause mayor daño.
-- Tercer Corolario de Murphy.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация