Fill MySQL Table With Data From CSV

/ PHP / by Paul Robinson / 0 comments

It’s probably been in every PHP ‘test’ going and is a very commonly asked question, but it’s something I’ve never covered here at Return True before. So what exactly is the best way to insert data into a MySQL table from a CSV file? Well I can’t say these are the best ways, but here are two ways I’ve come […]

Read more

Create A Virtual Page Using Rewrite Rules In WordPress

/ Wordpress / by Paul Robinson / 2 Comments

In our last tutorial we looked at how to create a endpoint. Those were pages that could be created for each type of permastruct available within WordPress. This time we are going to look at creating a page that does not rely on any of WordPress’ built in permastructs and instead can match any URL you like. I would advise […]

Read more

Creating A Custom Page With WordPress Endpoints

/ Wordpress / by Paul Robinson / 8 Comments

Today we are going to take a look at using Endpoints within WordPress. Endpoints are points that you can define on the end of the normal in-built permastructs within WordPress to provide extra functionality. What is a Permastruct? A permastruct is a Permalink Structure. So for example the URL you visit when viewing a single post, normally (depending on your […]

Read more

Creating A WordPress Plugin With Composer and the Mailgun API

/ PHP / by Paul Robinson / 2 Comments

Composer is an extremely powerful tool for PHP developers and I love it, but how about when you are building a WordPress plugin? WordPress has a lot of built in features but having access to the massive library of packages available on sites like Packagist is amazing, so the question is how do you use Composer along with WordPress? Prerequisites […]

Read more

Uploading Directly To Amazon S3 From Your Laravel 5 Application

/ PHP / by Paul Robinson / 30 Comments

So you have your killer new application planned out in Laravel, you get everything working with local uploads for that fancy image feature you need. Then bummer, you realize something. With a lot of hosts now shifting to SSD technology they are no longer offering unlimited hosting space. What about if you use something like Digital Ocean who only offer […]

Read more

Free Modern UI Kit Sample From PixelKit

/ Resources / by Paul Robinson / 0 comments

Today I’m happy to say I can offer you an awesome freebie. A lovely member of the PixelKit team got in touch and has allowed me to offer a sample of one of their wonderful UI Kits to you lovely people. The sample includes 11 of some of the most common UI elements. These include: Navigation bar Weather Panel Profile/Author Panel Calendar Icon […]

Read more

8 Fabulously Free Flat UI Kit Design Resources

/ Resources / by Lisa Marie Robinson / 0 comments

UI Kits. What exactly are they? Well, they are something which most web designers (whether professional or hobbyists) should probably be using. User Interface Kits are magical PSDs (and sometimes other file types) created with the sole purpose of being easily integrated in to any web design. They contain elements and components that most people tend to over look or […]

Read more
Beginners Guide: Using Vagrant with Puphpet for Local Development

Beginners Guide: Using Vagrant with Puphpet for Local Development

/ Misc / by Paul Robinson / 9 Comments

Whether you’ve been developing locally for years, or you are just getting started, but have always used a locally installed server such as XAMPP or WAMP (or MAMP) it might be time to move on to a more flexible development environment. Why Use Vagrant? Vagrant is excellent for development because it creates a virtual version of a real server. It […]

Read more

Simple Website with Silex and Twig: Adding Form Validation

/ PHP / by Paul Robinson / 4 Comments

In that last part of our tutorial we looked at how to add Swiftmailer to the contact form of our simple Silex website. This time we are going to look at how to finish things off by using the Form Builder, adding CSRF protection and moving our Silex install to a more secure location. If you haven’t followed the first […]

Read more

Reorder A Numerically Keyed Array Using Array Splice?

/ PHP / by Paul Robinson / 3 Comments

So today I was given an interesting task by a client. I had the output of a certain function. That function returns an array containing the days of the week (via numeric key, 0 = Sunday, 1 = Monday, etc). The value of each key was an array containing data. Something like this:

Using shorthand array syntax here & […]

Read more

I'll keep your WordPress site up-to-date and working to its best.

Find out more