Multiple domaine redirect main domain Htaccess

In almost all my project I have to manage multiple domaine for the same website. .com .ca .org. co … You can redirect in the htaccess all of your domain to the main domain. 4 simples lines of code in your .htaccess and it’s done. The first line is to start the Rewrite Engine The […]

Read more »

Advertise with us!

PHP reference guide

This post will be update all the time. I will use this post as a reference guide. I will always show an example of working code. This will look a bit messy at first but I will organise it over time. Remove characters Last 3 characters of a variable First 3 characters of a variable […]

Read more »

Advertise with us!

Remove or Add user role

A few weeks ago I was creating a business portal for a large company. The client needed to add all of his employees (300 employees) to the portal and he wanted to assign theme a¬†user role relative to there job function. So that a sales person will be in Sale, receptionist in receptionist and so […]

Read more »

Advertise with us!