In this tutorial, we’ll take a look at the technique of geotargeting, or serving content to users based on their physical location. The technology is invaluable; with simple techniques, you can target advertising to specific users, collect more accurate usage statistics, serve content in different languages for different regions and provide local information like weather reports to your visitors.
It’s a common point of heated debate between Ruby on Rails and PHP developers – can we really compare Rails with PHP? While most PHP developers would contest it, it’s [...]
When it comes to choosing a framework, PHP developers are very much spoilt for choice. From Rails-alternatives, to .net-in-PHP attempts, beginner-oriented procedurals to full-on enterprise systems, and even those that [...]
I’m regularly reviewing candidates for PHP development positions, and I’ve noticed some very interesting trends with regard to the qualifications people list on their resumes. As with anything, here’s the [...]
The vast majority of PHP applications out there use native PHP files for configuration. One or more standard PHP files declares a number of variables used for configuration. Given the [...]
There’s always a bridge between textbook knowledge of programming – syntax, procedure etc. – and the real world knowledge that you get from actually developing real applications. Here are five [...]
Code reuse: a great boon for web development. With large repositories of PHP code out there, from snippet archives to class databases, PHP is arguably one of the best languages [...]
Web development is a world of rapid code modifications, instant deployment and immediate updates. Of course, maintaining the product of this web development can be as hectic as the web development is agile; with manual backups, quick database edits and tedious data migration and re-entry. In this tutorial, I'll show you how to use PHP-CLI, the command line interface for PHP, to get your maintenance under control using the technologies you're already familiar with. By the time you've finished this tutorial, you'll be able to build human-assisted backup systems, automatic report generators.
Alright, so I've done a little work and decided to go through this step by step, because in all actuality everything helps when you're trying to learn a new programming language. For this project, I needed a form to send an email to the client once it's been validated and checked to be ok. Sounds simple enough in PHP in fact I had it working in about 15 minutes. The only problem was, it was boring. And the user had to wait for it to be submitted then after they were sent to another page rather than the home page, and I didn't like that.