Check local computer info. with php

869 Views Asked by At

I made an intranet which will work on a local computer. I have got Windows XP and Appserver which has got apache, php, mysql and ext.... on the computer. There will be no network. I want to make sure the person i am going to give the computer can not copy the files and use it on another computer.

I am using Zend Guard to protect the files.

I want to include some information which will be only on that computer. What can this be?

Regards

edit

When i use this:

$output = shell_exec('wmic diskdrive get model');
echo $output;
echo "<br>";
$output1 = shell_exec('wmic csproduct get name,vendor,identifyingNumber');
echo $output1;

I get this output:

Model Maxtor 6Y080L0

IdentifyingNumber Name Vendor FRB4270G5K HP d530 SFF(DC578AV) Hewlett-Packard

I think this will be ok. for me. Nobody can change the hard disk. I did not really get the second part. What is

IdentifyingNumber Name Vendor FRB4270G5K HP d530 SFF(DC578AV) Hewlett-Packard

2

There are 2 best solutions below

10
On

I suppose the MAC address would be useful.

4
On

There will be no network. I want to make sure the person i am going to give the computer can not copy the files and use it on another computer.

Then ask your lawyer to draft up a contract that dictates this as a condition of using the software, with appropriate penalties.

PHP bytecode encoding is amazingly easy to crack, and it's a waste of your money and time.