Category: php
We can use the following PHP Function to return the number of CPU Cores in the current System. At Linux Servers, this is done via looking into processor information …
Pictures/Images taken by Modern cameras (SLR or Smart Phones) have stored some additional data (meta information) in the JPEG such as camera model, make, exposure time, ISO etc. We …
The following is a PHP Function that allows us to truncate a string (and optionally appended with suffix e.g. dots) if the length exceeded the threshold. Otherwise, the function …
Many situations we want to be able to detect if a post/comment is spam by checking to see if it contains a list of spam/forbidden words. The following provides …
I find a need to manage the hyper links in wordpress in a centeralise place. As i have many dofollow links that are no longer valid (accessible). Making those …