PHP Techniques that Will Rock the Socks Off Your Clients

PHP Techniques that Will Rock the Socks Off Your Clients

PHP has evolved into the language of choice for developers looking to create interactive web applications with dynamic functions. This powerful language allows you to create, develop, and grow your apps with added improvements such as validation for forms and auto-complete for text fields.

But that’s just the beginning, you can do much more with PHP, this is why we’ve put together a several PHP development techniques that are sure to rock the socks off your clients.

[Remember to subscribe to our feed for up-to-date development articles and resources!]

Automatic Face Detection in Photos with PHP

To auto detect faces in a photo and draw pink box around the faces with a php script running a linux centos server. Please note that face detection and face recognition are two different things. To recognize a face you have to first detect a face and then do the required processing.

Create Your Own URL Shortening Service

With this technique you’ll be able to find out how, and later create your own URL shortening script.

PHP HTTP Authentication

Occasionally you may wish to make certain pages of your site only viewable to a select few. you can do this by using PHPs built in HTTP Authentication. The code needs to go right at the top of your php page so don’t get ‘Headers Already Sent’ errors. You can see that we’ve specified the username and password in the variables at the top of the script you can change these to reflect your own username and password.

How to Debug in PHP

This article breaks down the fundamentals of debugging in PHP, helps you understand PHP’s error messages and introduces you to some useful tools to help make the process a little less painful.

Check Username Availability With Fading Effect

When, you check the the username avaiability a fancy message box will show you the message with a little bit of animation. If you are looking for such kind of effect for checking username availability, then this might be right post for you.

PHP Components: Autosuggest

This is a simple “PHP component”, ready to use, to implement a search form with an autosuggest feature using PHP and MySQL. For all Ajax beginners this is the most simple way to implement it (just with 8Kb) and the only thing you have to do is modify some parameters. Take a look at this post for all related information.

Using PHP to Backup MySQL Databases

There are at least three ways to backup your MySQL Database:

  • 1. Execute a database backup query from PHP file.
  • 2. Run mysqldump using system() function.
  • 3. Use phpMyAdmin to do the backup.

How to Create a PHP/MySQL Powered Forum from Scratch

In this tutorial, we’re going to build a PHP/MySQL powered forum from scratch. This tutorial is perfect for getting used to basic PHP and database usage. Let’s dive right in!

Create an Advanced Rating System

RabidRatings is a simple but eye-caching ratings system which allows users to your website to rate virtually anything. Installation is easy—simply tell the PHP script how to connect to your database and include the PHP tag where you want to have a ratable item, and everything else is done for you.

pChart – a PHP class to Build Charts

pChart is a PHP class oriented framework designed to create aliased charts. Most of todays chart libraries have a cost, our project is intended to be free. Data can be retrieved from SQL queries, CSV files, or manually provided. This project is still under development and new features or fix are made every week.

Did you enjoy this post?

If so, would you please consider sharing it with the world

User Responses

5 Responses and Counting...

  1. designfollow

    April 09, 2010

    great techniques.

    thank you very much.

  2. skyje

    April 09, 2010

    php is so easy to learn for any developer.
    thanks for great post.

  3. Guilherme Moreira

    April 09, 2010

    Nice article, thanks for the tips!

  4. Paul C. Shirley

    April 09, 2010

    Great article and some really good, useful techniques.

  5. Brett Widmann

    April 09, 2010

    Great article. I really like the link shortening and charting techniques you presented :)

Leave a Reply

Default User

Your Name

April 09, 2010

* Name, Email, and Comment are Required