XML to Php using SimpleXML
So, recently I was working on a project which required the need to update a MySQL database from data in an XML feed. I’d done this before, but quite a while ago – so I wanted to put together a quick...
View ArticleUse password_hash() to create a registration and login system
This article will show you how to use password_hash (a new feature of php 5.5) to build a simple yet secure user registration and login system. This sort of thing is really quite simple to build – but...
View ArticleBasic Php Form Validation
It’s been a while since the last post, and I thought I’d make a new start with a quick tutorial showing how easy it is to validate form data with php. This can help cut down on spammers, and it can...
View ArticlePhp to PDF (fpdf library)
Being able to generate pdf’s from php can be quite a handy thing to know. I’m going to run through the basics of generating pdf’s with php. I’m going to be using the fpdf library, it might be worth...
View ArticlePreventing Spammy Form Submissions
I’m going to look at a really simple way of helping to prevent form spam using Php. Basic forms can pose real headaches if not protected properly – I’ve worked on sites that receive a few hundred...
View ArticleInstall Composer on Mac with MAMP
Just recently, I’ve started looking at Laravel as a framework to use in some of my projects. I’ve used Codeigniter heavily in the past – but it seems to have gone a little stale, and there are a lot of...
View ArticlePhp Security – Preventing Cross Site Scripting (XSS)
Today, I’m going to look at Cross Site Scripting (XSS). This is a common vulnerability, and it is said that over 60% of websites are vulnerable to it. What is XSS? XSS usually consists of inserting...
View ArticleLaravel Basics:: Routing
If you’re like me, and have come to Laravel from using something like Codeigniter – routing may be something new. It’s built into Codeigniter, but it was very easy to ignore, and this was one of the...
View ArticlePolymorphic Relationships in Laravel
Polymorphic… phew, that’s quite a word! What does it even mean?? Let’s take a look at the Laravel site and see what the wise old Taylor Otwell has to say… Polymorphic relations allow a model to belong...
View ArticleLaravel 5 and Bower – Easy Asset Management
Starting a new project with Laravel usually means a bit of time pulling in Bootstrap, FontAwesome and maybe even Angular. After a while, this can get a bit boring. Thankfully, there are a few tools...
View ArticleGetting to know Lumen
Lumen is another creation from the Laravel creator, Taylor Otwell. It’s a micro framework – which just means it’s a lot smaller in size, and faster in performance. This article will dive into Lumen,...
View ArticleLaravel :: Homestead setup
Setting up a local development environment is one of the best ways you – as a developer – can increase your efficiency and productivity. No more FTP client woes, no more waiting on uploads and no more...
View ArticleBasic Php Form Validation
It’s been a while since the last post, and I thought I’d make a new start with a quick tutorial showing how easy it is to validate form data with php. This can help cut down on spammers, and it can...
View ArticlePhp to PDF (fpdf library)
Being able to generate pdf’s from php can be quite a handy thing to know. I’m going to run through the basics of generating pdf’s with php. I’m going to be using the fpdf library, it might be worth...
View ArticlePreventing Spammy Form Submissions
I’m going to look at a really simple way of helping to prevent form spam using Php. Basic forms can pose real headaches if not protected properly – I’ve worked on sites that receive a few hundred...
View ArticleInstall Composer on Mac with MAMP
Just recently, I’ve started looking at Laravel as a framework to use in some of my projects. I’ve used Codeigniter heavily in the past – but it seems to have gone a little stale, and there are a lot of...
View ArticlePhp Security – Preventing Cross Site Scripting (XSS)
Today, I’m going to look at Cross Site Scripting (XSS). This is a common vulnerability, and it is said that over 60% of websites are vulnerable to it. What is XSS? XSS usually consists of inserting...
View ArticleLaravel Basics:: Routing
If you’re like me, and have come to Laravel from using something like Codeigniter – routing may be something new. It’s built into Codeigniter, but it was very easy to ignore, and this was one of the...
View ArticlePolymorphic Relationships in Laravel
Polymorphic… phew, that’s quite a word! What does it even mean?? Let’s take a look at the Laravel site and see what the wise old Taylor Otwell has to say… Polymorphic relations allow a model to belong...
View ArticleLaravel 5 and Bower – Easy Asset Management
Starting a new project with Laravel usually means a bit of time pulling in Bootstrap, FontAwesome and maybe even Angular. After a while, this can get a bit boring. Thankfully, there are a few tools...
View Article