16th Apr 2016 • David Carr Gitlab download private repository as tar.gz with php Gitlab is a great alternative to Github or BitBucket, they offer free private and public repositorie... Read more
9th Mar 2016 • Dan Sherwood How to Set up PHP Statistics Sometimes you need to make improvements to your code and make things more efficient. Using some simp... Read more
28th Jan 2016 • David Carr Extract image source from img tag To extract the image source from an image tag making use of preg_replace and a regular exp... Read more
28th Jan 2016 • David Carr Checking all array keys are the same with PHP Here is a simple way to check the values of an array contain the same value using array_count_values... Read more
12th Oct 2015 • David Carr Post updates to Buffer using PHP Buffer is a great social media management tool, perfect to scheduling facebook and twitter updates.... Read more
27th Aug 2015 • David Carr Leverage PHP to decrease page load times Increase your page speed by merging your various css and js files into a single css and js file..... Read more
22nd Aug 2015 • David Carr Sending emails with PHPMailer and Mandrill Sending emails with PHP’s mail function is not recommended it’s not reliable and hard to... Read more
18th Jul 2015 • David Carr Create a list of items from a folder using scandir Quick tip to create a list page that will read the files from a directory and link to them is super... Read more
18th Jul 2015 • David Carr Reading markdown files with parsedown Read me files on GitHub are written in Markdown, I wanted to be able to grab the contents of a... Read more
17th Jul 2015 • David Carr Scraping GitHub For an upcoming project I need to be able to dynamically get information about a GitHub repository s... Read more
17th Jul 2015 • David Carr comparing multiple values against in_array PHP's in_array is useful to determine if an item is in an array but when needing to compare... Read more
12th Jul 2015 • David Carr Using Premailer to convert styles to inline styles for HTML emails automatically with PHP Sending HTML emails can be tricky, not all mail clients support the same css. Most ignore external s... Read more
8th Mar 2015 • David Carr Forcing HTTPS with PHP Using HTTPS is recomended, Google also preferes HTTPS they recently announced: “HTTPS is&... Read more
3rd Mar 2015 • David Carr Cpanel create emails with php Here’s a easy way to create new email addresses for Cpanel using PHP. I recently needed t... Read more
28th Feb 2015 • David Carr Create PDF with form data It’s possible to populate a PDF using information provided by a form using the MPDF ... Read more