Data breaches and the level of password security

I recently wrote a post about how to correctly hash passwords using PHP. As this story was shared on reddit it was met with the normal trolling almost every post gets on the platform. One of the issues was why did I mention such things as MD5 and SHA when the post was about correct way of password hashing. My response to this was because most tutorials (usually aimed at beginners) recommend hashing passwords with functions such as MD5 and SHA1 and I dedicated a paragraph of the article to explaining why these where bad points and why not to use them.

Continue reading Data breaches and the level of password security

Web development using Linux – Part 4: Everything else

So over this series of posts we have covered Linux operating systems, IDE’s and text editors. In this final post of the series I will cover the final bits and pieces used in a web development workflow.

Continue reading Web development using Linux – Part 4: Everything else

Web development using Linux – Part 3: Text Editors

In part 2 we discussed potential IDE’s for your web development on Linux but sometimes IDE’s are over kill for some projects and some people just don’t like using IDE’s at all.

So here is my countdown of some of the best text editors for Linux when doing web development.

Continue reading Web development using Linux – Part 3: Text Editors

How to correctly hash passwords in PHP

PHP password hashing and the new password_hash() function

Password hashing is a hot topic with many database breaches resulting in users passwords being revealed due to bad encryption techniques or even worse none at all! Never store a password in plain text, you’re not doing that anyway right?

Continue reading How to correctly hash passwords in PHP

Web development using Linux – Part 1: The OS

In this series of posts I’m going to discuss web development using Linux. I have been using Linux as my web development platform for the last 5 years and I’m here to give you a run down of what software I use to get the job done. You may be surprised to most of your common tools on Windows and Mac are actually available on Linux.

There’s no better place to start in part 1 of this series than the OS its self.

Continue reading Web development using Linux – Part 1: The OS

PHP Rapid-Fire: What is the @ symbol used for in PHP?

The @ symbol is used in PHP to suppress error warnings in your code. Prepending an ampersand to a line of PHP will suppress the error from reporting but it doe’s come with a few caveats listed below.

Example: To stop errors from showing for a class

 $var = @new some_class(); 

Continue reading PHP Rapid-Fire: What is the @ symbol used for in PHP?