@ 2017-04-20T18:29:32Z <?php
$mac_address = array("00b3.62","00c2.c6","0874.02","0c15.39","20d1.60","3010.b3","3052.cb","34a3.95","34c0.59","3859.f9","3c33.00","3cbb.fd","4078.6a","4cb1.99","5440.ad","5832.77","5840.4e","5882.a8","60f4.45","64a6.51","64db.43","68ae.20","68db.ca","6c88.14","70de.e2","70f0.87","74c2.46","783a.84","789f.70","78ff.ca","8096.b1","8438.35","8438.38","886b.6e","8cbf.a6","90c7.d8","9453.30","98fe.94","9c04.eb","9c4f.da","a03b.e3","a0cb.fd","a45e.60","a4e4.b8","ac37.43","b045.19","b876.3f","c0f2.fb","c454.44","c869.cd","c8a8.23","cc3d.82","ccc3.ea","d0fc.cc","d81d.72","d8cf.9c","e425.e7","f0f6.1c");
foreach ($mac_address as $mac) {
$url = "http://api.macvendors.com/" . urlencode($mac);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
if($response) {
echo "Vendor: $response";
} else {
echo "Not Found";
}}
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.0 - 7.0.20 , 7.1.0 - 7.1.25 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.7 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/VK8AA:5
Stack trace:
#0 {main}
thrown in /in/VK8AA on line 5
Process exited with code 255 . preferences:dark mode live preview
184.74 ms | 403 KiB | 187 Q