If there’s one thing I don’t like to do, it’s this: building any kind of website from scratch, especially when I have to design it as well. I’ve done exactly that, however, against my own wants on more than one occasion. Unfortunately, it’s something required when I’m trying to make a point or when I’m [...] Read more »
Check for an Odd or Even Number in PHP
I’m not going to bother you with mathematics. I’m just going to present two functions that can be used within your PHP scripts to determine whether a number is odd or even. There are more reasons than one to know when a number is odd or even, and more than one way to determine it, [...] Read more »
Website Registration Made Easy
Website registration shouldn’t be difficult and it isn’t if you keep it as simple as possible. If you’re not using SSL, you have to keep in mind that a malicious hacker could be sniffing packets and can capture anything sent at registration time. For this reason and this reason alone, you should never allow passwords [...] Read more »
Kindle E-Book Formatting and another Project
If there’s one thing that independent Kindle authors can agree on, it’s that formatting their works for publishing is almost as hard as writing the text. In some cases, it’s harder, especially for prolific authors. Read more »
Another way to Prevent Session Hijacking with PHP
While everything I wrote when I wrote about how to prevent session hijacking with PHP is true, there is another way to prevent session hijacking. In fact, it’s really simple and session hijacking is a completely worthless endeavor when you think about it. Read more »
Basic WordPress Login Security and Basic Comment Spam Protection
The techniques I’m about to show you can be adapted for other types of websites, not just WordPress-driven websites, as long as you have a separate page for logging in and a separate page for posting comments. The reason I use the word “basic” in the title of this article is because there’s a lot [...] Read more »
No Longer Pending: Philippine Island Sights
Back in May, I said I had a new website pending. It was tentatively going to be called Philippines Sights and Sounds, but I and Alex decided to concentrate on the sights part of it because we don’t fancy listening to any local bands and things like that. Read more »
Creating a LEMP Stack that Works
A LEMP stack is defined as a stack of software applications which basically means: Linux, NginX, MySQL and PHP. Unlike LAMP stacks (Apache instead of NginX), LEMP stacks aren’t built into Linux distributions yet. If you want a LAMP stack, you can just install it with apt-get install lamp on Debian-based distributions (including Ubuntu and [...] Read more »
How to Prevent Session Hijacking with PHP
Session hijacking can occur on standard HTTP pages (pages not protected by SSL) through various means including packet sniffing. There are measures you can take to make session hijacking difficult, if not impossible, for all but the most experienced hackers. I’ll go over these briefly and let you make up your mind how much security [...] Read more »
Why most Password Resets Suck
Have you ever noticed how strict some websites are when it comes to building your login credentials, but then the password reset routine is anything but secure? I have and I’m telling you right now most password reset routines suck to no end. Read more »