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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -