Way to generate virtual mac address in PHP -
I am working on a web application where I have to create demo mac address for each record.
Note - There will be a lot of records in this way, for which I need a demo mac address. I do not want a precise Mac address - I would be unique like a MAC address, but not UUID. For example -
00: 17: 88: 00: 00: 00
echo fonts (':', str_split (substr (md5 (mt_rand)), 0, 12), 2)); (Mt_rand (0, 0xffffff), 10, 16), 12), 2));
Comments
Post a Comment