Posts in category: Tutorials

CKEditor | elFinder | PHP & MySQL | Tutorials

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

To enable drag and drop and file uploads there are 2 settings that need to be enabled. go to ckedito...

David Carr


CKEditor | elFinder | PHP & MySQL | Tutorials | Tools

Integrate elFinder 2.1 with CKEditor 4

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

David Carr


PHP & MySQL | Tutorials

Simpler filesize calculations

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

David Carr


PHP & MySQL | Tutorials

PHP search string

Here's a quick way to search for a word inside a string

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel Module routes list

I build all my projects with modules. There are times it would be useful to see all routes but...

David Carr


Htaccess | Tutorials

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 domains.c...

David Carr


PHP & MySQL | Tutorials

Formatting dates to use timezone

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

David Carr


Laravel Framework | PHP & MySQL | Tutorials

Laravel download base64 encoded files

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

David Carr


PHP & MySQL | Tutorials

strtotime Add Two Working Days

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

David Carr


Tutorials | Development

Crontab command to delete itself

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

David Carr


Laravel Framework | PHP & MySQL | Tutorials

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 downl...

David Carr


Demos | Blog | PHP & MySQL | Tutorials

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

In this part, we will add a cover photo to the blog posts.

David Carr


Javascript | HTML | Tutorials

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. I had th...

David Carr


Tutorials | Ubuntu | Development

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 definitely go ahead...

Lakin Mohapatra


Laravel Framework | PHP & MySQL | Tutorials

Essential Laravel Packages

Laravel comes with a lot out the box, however, you'll often add third-party packages to add extr...

David Carr


Support my work by donating with PayPal.

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2021 DC Blog. All code MIT license. All rights reserved.