How to get CPU ID?

Hi all,

Could you please share me how to get a CPU id in PHP syntax using EXEOUTPUT technology / feature?

Thanks.

HEScript: put this in your UserMain script

procedure cpuidvalue;
var
S2: String;
begin
S2 := GetManualHardwareID(2)
SetGlobalVar("cpuvalue", S2, False);
end;

And then you can call this procedure from PHP, and read the value of the global variable “cpuvalue”.
See the help and general demo to see how to deal with PHP and HEScript.

Another sample: http://www.exeoutput.com/help/customheaders

1 Like