sgupta
New member
Above code workd fine in browser but it shows the following message when executed inside exeoutput environment:$uniqueKey = shell_exec(‘wmic bios get serialnumber 2>&1’);
$uniqueKey = str_replace(‘SerialNumber’, ‘’, $uniqueKey);
$uniqueKey = trim($uniqueKey);
The current directory is invalid.
Please help, its really urgent.