developer

Calling a function every 60 seconds

Question: ❓❓❓ Using setTimeout() it is possible to launch a function at a specified time: setTimeout(function, 60000); But what if I would like to launch the function multiple times? Every time a time interval passes, I would like to execute the function (every 60 seconds, let’s say). Good Answer: 👌👌👌 Read more…

By admin, ago
developer

PHP function to generate v4 UUID

Question: ❓❓❓ So I’ve been doing some digging around and I’ve been trying to piece together a function that generates a valid v4 UUID in PHP. This is the closest I’ve been able to come. My knowledge in hex, decimal, binary, PHP’s bitwise operators and the like is nearly non Read more…

By admin, ago