Apr 07, 2011 — 5 comments
In this short article I will introduce you to the PHP Command Line Interface (or CLI for short). PHP CLI allows you to run PHP scripts directly from the command line bypassing the need for a web server.
Most of us have probably encountered a Captcha system on the web in the past few years, sometimes without even knowing it. Captcha systems are designed to filter out automated "spam bots" from posting to websites that accept submissions such as forums and blogs by asking the user to solve a problem. These problems can range from typing in the letters and numbers displayed in an image to answering a simple math question or selecting the correct image.
This tutorial aims to outline the process of creating a visitor map you sometimes see on MySpace profiles.
The native array pointer functions in PHP allow you to traverse an array without actually referring to specific array elements. They can be particularly useful if you're using an associative array and wish to use the first element in the array. An internal array pointer, in PHP, is fundamentally an invisible pointer that points to a particular record in an array.
Create a category system that allows for unlimited number of categories. Keep everything dynamic and easy to use.
Learn how to use the power of PHP and CSS to build dynamic drop down menus
A PHP image gallery script using MySQl and Apache URL rewriting. Images can be uploaded from remote location and the users computer.
An article demonstrating how to crop an image using PHP's GD library, whilst still keeping the aspect ratio as it was originally. This is very clever as it prevents the image from looking stretch. For example, if you resized an image to 80x80 but the original image was wide-screen, then the image would look very much stretched. This article shows you how to get around that and crop images the proper way!
I ran across this great, easy but very useful API a few days ago. Now for the tutorial.. let's assume we make a website for the TalkPHP soccerteam. They've played 10 matches (6 won, 3 draw, 1 lost). We'll be making a nice three dimensional pie chart of those stats!
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?