PHP Snippet Code To Generate Random Float Number
Generating a float random value in PHP is a little bit tricky. Both rand() and mt_rand() will return an integer value. But sometimes you need to…
ARTICLES · GUIDES, NOTES, EXPERIMENTS, LINKS
WordPress, performance, security, AI, browser APIs, and the boring devops in between. Newest first. The old posts are kept for context — they may reflect the tools and versions of their time.
Generating a float random value in PHP is a little bit tricky. Both rand() and mt_rand() will return an integer value. But sometimes you need to…
I’m using Google App Engine to cache my static files for a while now. So far, I’m quite happy with my blog performance and using Google…
Sometimes when you run your script there is an error like this: That’s because there are one or many ^M characters in your script for every…
From my previous posts I wrote about how to install APC and XCache as caching systems for PHP 5. Now I would like to review which…
Instead of using Alternative PHP Cache (APC), we can use PHP XCache as a PHP caching system. XCache is an open-source opcode cacher that accelerates PHP…
Google just launched a new security feature to access Google Account. It is called 2-steps verification. With this 2-steps verification, the hacker cannot enter your account…
This problem happened on my VPS after I installed Alternative PHP Cache (APC). I also already had Zend Optimizer installed on the same VPS. After I…
As I dug more into DNS performance benchmarking, I found a great tool instead of using the command prompt as you can see in my previous…
DNS (Domain Name System) is a hierarchical naming system built on a distributed database for computers, services, or any resource connected to the Internet or a…