I use datepickers a lot in my projects the date’s default to the American YYYY-MM-DD format so they store in the database, the trouble is my clients are UK based so it’s not very readable. The datepickers let you set the format you want so I use DD-MM-YYYY.
That’s great until it needs to go into a MySQL database then I need the former date. As I know what the format will always be using strtotime makes it easy to convert like this:
Today’s I’ve reinstalled my os and decided to install mysql in terminal I didn’t make a note of the temp password, so when I tried to run mysql I get access denied. The password needed changing these are the steps I followed.
Laravel comes with a handy command line installer, once installed can be ran anywhere from terminal to install a new Laravel application. In this post I’ll be covering the steps involved to get the installer installed and the PATH configured correctly.
As of the 10th July 2016 php 5.5 is officially end of life, as a result it should not be used anymore. Any applications still using 5.5 should be upgraded to php 7 ideally or failing that 5.6 as a minimum.
5.5 was released in 2013, active support ended 10th July 2015, today security support has ended. Any vulnerabilities that may exist in 5.5 will NOT be patches any more and could leave your site vulnerable to attack.
If you host does not have 5.6 or higher I highly recommend you contact them and ask to be upgraded or find a better host.
Upgrading to 5.6 should be painless nearly everything works without changes, having said there there are some backward incompatible see migrating from 5.5 to 5.6