Development

Search Results

Use the search box on the top of the page to search posts in Development

How to calculate the percentage through the tax year in PHP

Recently a client requested that we display for them a percentage of how far through the tax year we are. I did some looking online however I couldn’t find anything which suited my needs. Below is the code I ended up writing which will calculate the percentage value and display…

How to kill a MySql process using phpMyAdmin

This is just a quick tip on how to kill a MySql process that has become stuck. This sometimes occurs when an update/create command on a large amount of database entries. Firstly login to phpmyadmin and find the appropriate database. Select the SQL tab and in the window enter : SHOW…

Php Website Scanner find injected files, added files and updated files

As website developers, we all hope the day does not come when a client phones to tell you that their website has been hacked, or weird popups are appearing, or worse still the web hosting company has taken their site offline. Well recently a clients WordPress site that we have…

How to Fix Specified Key Was Too Long Error Laravel 5.4

Laravel 5.4 made a change to the default database character set, which will cause issues for anyone that is trying to run their new project using Older versions of MySQL (5.7.7 and below) or MariaDB. It’s default charset is now utf8mb4 which includes support for storing emojis. Recently I have…

Jquery Select2 v4 Ajax/PHP Tutorial

Since my last tutorial on the Select2 Jquery plugin using remote data loaded using Ajax and PHP has been so successful, I am updating the tutorial to work with the newer Version 4 plugin. If you dont know what the Select2 plugin is : Its a Jquery plugin to turn…

Use GeoIP to find user location with PHP

Just recently whilst working on our new website : Car Catcher UK I had to create an area for website users to enter their postcode. Obviously for the search option to work to its fullest we made this a required field and also added a distance dropdown. but that meant…

Make URL case insensitive on apache server using PHP

So occasionally it happens…Someone will leave caps lock on and accidentally enter a url in UPPER case and we all know you will end up at 404 error page, file does not exist.. That is unless you have root access to your server and are able to turn the mod_spelling..If…

Bootstrap by Twitter File Input Box

Afternoon, just a quick tutorial about the File Input Field using twitter styling and Jquery to keep the look of your site. Bootstrap By Twitter is an excellent Framework of css, jquery and html5 including lots of plugins and style options Using their form css styling is very easy and very…

Server Update

Due to a new SSHD rootkit which is circulating we are ensuring all of our systems are fully updated and booted into the latest kernels.We appoligize in advance if any services go down during the update… All updates are now done.

Export Messages From Mail to Excel With AppleScript

My eldest daughter was sat at home today when I got home from work, copy-pasting emails from her Yahoo mailbox into an Excel sheet. She needed the email in this format for some part of her work and she was on email 157 of 656 and well into her 6th…
Showing 11 to 20 of 33 items
Copyright 2007 - 2024 southcoastweb is a brand of DSM Design.