“X PHP Snippets” articles abound on the Internet, so why another one? Let’s face it… the PHP code in them are generally lame at best. Instead, this list presents five snippets you’ll no doubt find interesting and useful. The creativity in these samples are sure to inspire you to write better and more creative code in your own day-to-day endeavors.
The proliferation of affordable mobile devices and IP-Telephony has added additional channels for interacting with users, and in this article you’ll learn how to leverage these channels by implementing multi-factor authentication (MFA for short) using PHP and the cloud communications service Twilio.
This installment in the four-part series focuses on the server-side. You’ll learn how to shift your thinking from the action-focused mindset that’s prevalent in web development today to a more RESTful, resource oriented, approach, and see one way to structure your code and route URI requests in PHP.
Need to protect your image files with watermarks? This article shares a few pointers on what makes an effective watermark, and then how you can use the Imagick extension to easily add a watermark to any image.
You can avoid most of the installation, configuration, and maintenance hassles associated with PostgreSQL by using cloud-hosted database service Heroku Postgres. This article shows you how easy it is to interact with the database from PHP.
You’re crazy if you haven’t taken advantage yet of SitePoint’s limited-time launch special for PHP Master: Write Cutting-Edge Code. If you’re a PHP developer who’s ready to hang up your novice hat for good and become a professional, then this is definitely a book you need! The topics covered in the book, from OOP to Quality Assurance, will help you to ratchet up your skill level and become an awesome coder.
PHPMaster has only been live for a couple of months now, but its reception has been phenomenal! One of the many reasons, in my opinion, is our amazing content. Here’s three articles in particular I’d like to highlight which we’ve published here at PHPMaster that really stand out.
Superglobals are specially-defined array variables in PHP that make it easy you to access information about a request or its context in your scripts. Learning to use the most useful ones will help you write great, interactive websites.
Uploading files is an important feature of many of the sites and web-based applications we use on a daily basis. In this post, I show you how you can support file uploads using PHP.
This article shows you the basic methods you need to know to begin refactoring your existing PHP code away from using the older MySQL extension to the new PDO database abstraction extension and offers some practical advice to help make the migration as quick and painless as possible.