How to reduce spam comments in WordPress

Are you a blogger? and using WordPress, then you might be aware of the spam flood which is very common on every blog now a days. Just what we need to do is a little more tweaking to stop these useless comments. In WordPress there are many ways to stop such type of comments.

Continue reading

Connect to database with PDO in PHP

We can connect to MySQL the easy way or the other way by writing a MySQL wrapper, that’s upto the programmer. In this post, i will not go for any wrapper or class but will share my approach with PDO, which itself is OO.

Continue reading

Generate random password in PHP

While working on a project last week, i used this function to generate random passwords. There are many styles of password generator available over the net, but it depends which one suits the taste and need.

Continue reading

Author's picture

The Random Bits

M M Arif
Programmer, Linux user, DevOps engineer, System admin, Husband, Father.
Join me on Mastodon

Principal Software Engineer

/dev/swat