PHP download file script

This is my favorite PHP download script. I’ve used a different more simple method until a client wanted to be able to allow their site visitors to download a large file from a password protected directory. The PHP script works on Apache web servers for all kind of files. I have used this script for […]

Originally published by Web Development Blog

Web Development Blog

Parse html with preg_match and preg_match_all

For the most of the web developer which are using the function preg_match, is the function preg_match_all a smaller advantage, but for all others it’s maybe hard to understand. The biggest difference between preg_match_all and the regular preg_match is that all matched values are stored inside a multi-dimensional array to store an unlimited number of matches. […]

Originally published by Web Development Blog

Web Development Blog

Simple PHP Code Debugging

Each beginning (and more advanced) PHP coder will fail because of errors while writing PHP code. This post will teach you some simple things about how you can find those errors in your PHP script. By default some errors will not show up on your web server! Try the examples from the PHP manual The […]

Originally published by Web Development Blog

Web Development Blog

How to use Mailgun with MyMail the newsletter plugin for WordPress?

Like most of you I use MailChimp to publish newsletters and for the management of my mailing list. If the number of subscribers becomes bigger it’s often more lucrative to use a WordPress plugin like MyMail together with a transactional mail service provider. In the past was MyMail and Mandrill an inexpensive combination, but since Mandrill has become a […]

Originally published by Web Development Blog

Web Development Blog