Thanks for the information but is there a way to get it in windows aswell?

Thanks

Thomas "omega" Henning
"Marco Tabini" <[EMAIL PROTECTED]> wrote in message
news:1037025483.12570.155.camel@;localhost.localdomain...
> If you're using linux, you can try to execute this from the command
> line:
>
> hdparm -i [device]
>
> to get, among other things, the serial number of a hard drive. You can
> then extract it with a simple regular expression.
>
>
> Marco
> --
> ------------
> php|architect - The magazine for PHP Professionals
> The first monthly worldwide magazine dedicated to PHP programmers
> Check us out on the web at http://www.phparch.com
>
>
> On Mon, 2002-11-11 at 09:38, John W. Holmes wrote:
> > > Is there a way i can test the cpu or the hdd for its serial number in
> > php
> > > under linux and win?
> >
> > Can you do it from the command line? Run the same command through
> > exec(). You can only get information for the server, not anything about
> > the client's computer, btw...
> >
> > ---John Holmes...
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to