I would like to create it as module for PHP like function - like
"gethdserial()" - and function to retrieve me serial number of HDD. I know
how to retrieve serial number in C, Delphi.


"Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Rosen wrote:
>
> > I can write it to another language ( like C, Delphi ) but I don't know
how
> > to "integrate" this with PHP - i.e. to create it as module for PHP.
>
> I would suggest going the simple route for now, then if you need it (for
> performance or whatever) later on, write it up as a module then.
>
> Write a simple little program in whatever language you like which can
> fetch the id and print it to standard output. Compile it and test it.
> Then in your PHP script, just call that program (using exec(), system(),
> backticks, whatever works best for your situation) and read its output.
>
> Later on, decide whether you need to write a whole module for this
> task. Seems like it would be overkill to me.
>
>
>
> Cheers,
>
> Torben <[EMAIL PROTECTED]>

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

Reply via email to