I recently encountered a tough problem to understand. I have a project PHP project based on Laravel. One particular route was a generating a report, storing it to XLS, and downloading it for the user. Its a long report, and may take several minutes to process. (Before you mention we should be using queues, I Read more about PHP, Apache Timeouts, POST Requests[…]
A buddy of mine recently was exploring a free instance over at GetClouder. He had installed a basic LAMP stack via the 1-click install feature + WordPress. To continue his work, he tried to install PHPMyAdmin. GetClouder provides some instructions to install PHPMyAdmin, but they didn’t work for him. That’s where i come in. There Read more about Installing PHPMyAdmin on GetClouder Instance[…]
In a recent project, I needed to read in an Excel worksheet and extract out a structure. Luckily, there is an Excel parsing PHP Library called PHPExcel. There are several good docs as well as good auto-generated documentation. However, I was looking to loop through a few rows in an Excel spreadsheet, with one of Read more about PHPExcel, Rows, and Dates[…]
I presented a short intro to PHP QA and Continuous Integration via Jenkins. It was an exciting presentation about the great tools available for code quality assurance, including PHPUnit, Selenium, and Jenkins. You can find the slides here, azphp-phpunit-jenkins, or at slideshare.
We needed to compute the distance between two points on the Earth using longitude and latitude from Google’s Geocode API service. We use PHP, but there was no reference to a PHP implementation of the Haversine Equation, so I made one. I needed miles, but if you need another unit, just replace $earth_radius with the Read more about PHP Implementation of Haversine Computation[…]