If then else matters! - AMD 9800X3D, Gigabyte Gaming OC 16G 5080 RTX, MSI MAG B850, 32GB DDR5, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, TP-Link AXE5400 Wi-Fi 6E Router
http://msdn.microsoft.com/en-us/library/Aa389292
Eerste hit @ Google?
https://noxiouspl.uk/
Die 2e site heb ik ook gevonden, die codes werken evenmin
[ Voor 58% gewijzigd door Guillome op 30-08-2010 14:16 ]
If then else matters! - AMD 9800X3D, Gigabyte Gaming OC 16G 5080 RTX, MSI MAG B850, 32GB DDR5, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, TP-Link AXE5400 Wi-Fi 6E Router
2e link van JapyDooge is waarschijnlijk ook relevant voor jou.
Waarom heb je die rare "\\\\" er achterstaan ?
[ Voor 3% gewijzigd door djexplo op 30-08-2010 14:26 ]
'if it looks like a duck, walks like a duck and quacks like a duck it's probably a duck'
WinMgmts:{impersonationLevel=impersonate}"); ook niet
Alle werken wél op de testbak
If then else matters! - AMD 9800X3D, Gigabyte Gaming OC 16G 5080 RTX, MSI MAG B850, 32GB DDR5, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, TP-Link AXE5400 Wi-Fi 6E Router
If so, lekkere testbak als de setup niet hetzelfde is
https://noxiouspl.uk/
Ik kan op de livebak niet gaan knoeien natuurlijk, maar de testbak wel.
Maar waar geef ik aan welke gebruiker IIS gebruikt? Das natuurlijk niet de ingelogde gebruiker, want IIS draait ook als je nog niet ingelogd bent. Applicationpool kan ik wel identy instellen, maar die zijn op beide servers al gelijk.
If then else matters! - AMD 9800X3D, Gigabyte Gaming OC 16G 5080 RTX, MSI MAG B850, 32GB DDR5, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, TP-Link AXE5400 Wi-Fi 6E Router
https://noxiouspl.uk/
If then else matters! - AMD 9800X3D, Gigabyte Gaming OC 16G 5080 RTX, MSI MAG B850, 32GB DDR5, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, TP-Link AXE5400 Wi-Fi 6E Router
Verwijderd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| if(class_exists("COM"))
{
$wmi = new COM("WinMgmts:\\\\.");
$cpus = $wmi->InstancesOf("Win32_Processor");
$cpuload = 0;
$i = 0;
foreach($cpus as $cpu) {
$cpuload += $cpu->LoadPercentage;
$i++;
}
$cpuload = round($cpuload / $i, 2);
return "$cpuload%";
}
else
{
return "";
} |
If then else matters! - AMD 9800X3D, Gigabyte Gaming OC 16G 5080 RTX, MSI MAG B850, 32GB DDR5, Corsair RM850X PSU, SN850 1TB, Arctic Liquid Freezer 280, TP-Link AXE5400 Wi-Fi 6E Router