PHP – Paul Hayes https://paul-hayes.org Wed, 04 Jan 2017 18:19:15 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.4 All Your Contact Forms Are Belong to Us: Critical Vulnerability Found in PHPMailer https://paul-hayes.org/2017/01/04/all-your-contact-forms-are-belong-to-us-critical-vulnerability-found-in-phpmailer/ Wed, 04 Jan 2017 18:19:15 +0000 https://www.paul-hayes.org/?p=54 David Golunski found a big vulnerability in PHPMailer. Essentially the sender data isn’t sanitized in PHPMailer versions less than 5.2.18. More details at Wordfence. The 4.7 version of WordPress has PHPMailer in it’s core in /wp-includes/class-smtp.php.

]]>
Haven’t learned PHP 7.0? You’re going to learn it now: Laravel 5.5 Will Require It https://paul-hayes.org/2016/12/18/havent-learned-php-7-0-youre-going-to-learn-it-now-laravel-5-5-will-require-it/ Sun, 18 Dec 2016 18:58:37 +0000 https://www.paul-hayes.org/?p=48 “But my job is only using 5.6…”

Well, it’s time to learn PHP 7.0 because Laravel 5.5 is gonna require it.

Check out the details here at Laravel News!

]]>
Get OpCache running on scotchbox : Simple Saturday https://paul-hayes.org/2016/12/10/get-opcache-running-on-scotchbox/ Sat, 10 Dec 2016 22:58:32 +0000 https://www.paul-hayes.org/?p=41 Working on a Drupal8 project and using scotchbox for the dev enviroment does not have OpCache enabled by default.

You’d think that the php.ini file to enable it would be in /etc/php5/apache2/php.ini, but you’d be wrong.

The setting is actually in /etc/php5/apache2/conf.d/user.ini .

]]>
Good Bootstrap to WordPress Tutorial https://paul-hayes.org/2016/11/25/good-bootstrap-to-wordpress-tutorial/ Fri, 25 Nov 2016 23:56:38 +0000 http://www.paul-hayes.org/?p=37 So, I had to pick back up my wordpress theming skills for a job I’m starting, and found a good tutorial that shows you how to convert a bootstrap site to a wordpress theme. (Kill two birds with one stone).

Check out Building WordPress Themes with Bootstrap over at EnvatoTuts+ by Adi Purdilla

]]>
Laravel 5.3 is now available https://paul-hayes.org/2016/08/23/laravel-5-3-is-now-available/ Wed, 24 Aug 2016 03:27:43 +0000 http://www.paul-hayes.org/?p=26 Laravel 5.3 welcome screenNew major features have been added

  • Laravel Scout : Laravel Scout is a new driver based full-text search engine for Eloquent
  • Laravel Passport : You need to make an OAuth 2 server? Laravel Passport has got you covered. Get one set up in a few minutes.
  • Laravel Echo : Laravel Echo is an improvement to the existing event broadcasting system that makes it easy to work with web sockets. To utilize Echo the backend will ship with the Laravel core and then you will need to pull in an NPM package for the JavaScript side. (I need to look deeper into this)

More details can be seen at the official blog for Laravel.

FYI: Read the requirements! I had to update my laptop’s PHP to 5.6. (Though I’m covered on my vagrant boxes. Thanks scotchbox!

]]>