Loading...
Integrate elFinder 2.1 with CKEditor 4

Integrate elFinder 2.1 with CKEditor 4

This tutorial will show you how to integrate elFinder with CKEditor. Download CKEditor 4 ...

David Carr

3 min read -

Simpler filesize calculations

Simpler filesize calculations

When working with file sizes in PHP you work with bytes, which often is not what you want....

David Carr

1 min read -

Adding a Drag and Drop image uploads & custom upload script to CKEditor 4

Adding a Drag and Drop image uploads & custom upload script to CKEditor 4

In order to add drag and drop image upload to CKEditor make sure you've included the Uploa...

David Carr

5 min read -

PHP search string

PHP search string

Here's a quick way to search for a word inside a string, using strpos the string to look a...

David Carr

1 min read -

Solving: Guzzle errors truncated

Solving: Guzzle errors truncated

I'm a big fan of Guzzle it's great for making API calls. My typical code when making calls...

David Carr

1 min read -

Laravel Module routes list

Laravel Module routes list

I build all my projects with modules using this package https://github.com/nWidart/laravel...

David Carr

1 min read -

Mask a .php page with Mod Rewrite

Mask a .php page with Mod Rewrite

Let's say you have a static website with various PHP files. These form the URL such as dom...

David Carr

2 min read -

Formatting dates to use timezone

Formatting dates to use timezone

Working with dates can get complicated when you need a time to change depending on the tim...

David Carr

1 min read -

strtotime Add Two Working Days

strtotime Add Two Working Days

There are times you want to add days to a date but only working days, so weekends are igno...

David Carr

1 min read -

Laravel download base64 encoded files

Laravel download base64 encoded files

Laravel has the ability to stream files from disc and remove them as soon as they've been...

David Carr

1 min read -

Crontab command to delete itself

Crontab command to delete itself

I was asked today can you run a cronjob only once. My initial answer was no you cannot as...

David Carr

1 min read -

Laravel download files from a route

Laravel download files from a route

Laravel makes downloading a server file very easy, in this post I'm going to show a way to...

David Carr

1 min read -

Creating a blog from scratch with PHP - Part  9 Cover Image

Creating a blog from scratch with PHP - Part 9 Cover Image

Blog Series Part 1 - The Build Part 2 - SEO URLS Part 3 Comments with Disqus...

David Carr

8 min read -

Dealing with posting large number of checkboxes

Dealing with posting large number of checkboxes

When you have a form with lots of checkboxes, you may hit a limit to how many you can post...

David Carr

2 min read -

Export to CSV

Export to CSV

Today I've released a new PHP package for exporting array data to a CSV file. Often data n...

David Carr

1 min read -

Pick up my book Beginning PHP for a fiver

Pick up my book Beginning PHP for a fiver

My Book Beginning PHP is now just $5 to buy from PacktPub https://www.packtpub.com/applic...

David Carr

1 min read -

Announcing DC Casts

Announcing DC Casts

In the new year DC Casts will be launched, a video site for teaching web development. You...

David Carr

1 min read -

Install Let’s Encrypt Free SSL Wildcard Certificate on ubuntu 18

Install Let’s Encrypt Free SSL Wildcard Certificate on ubuntu 18

If you want a quick solution for adding SSL/TLS to your website, then you should definitel...

David Carr

3 min read -