
A while ago I wrote an article on how to use mod_rewrite for search engine friendly URLs, but have since found the uses lacking. For one thing, you can’t pass variables well without adding more commands to mod_rewrite. So here you’ll learn to add unlimited parameters to your links with only one simple PHP function.
One thing everyone searches for is a great image gallery. Whether it’s to show off your work as a web designer or some pictures of your kid’s birthday, an easy way to upload and identify your images is always great. This tutorial will teach you how to create an image gallery: the administration comes complete with a login check, an upload form, a system for describing your images in a database, and the front end has everything including showing thumbnails of all your images, how to use the very great Script.aculo.us library for some great effects, and a javascript slideshow.
The most important part of your website is your visitors. You should know where they come from, what they use, where they go. There are various statistics software that can tell you all these things, but why use a pre-made one when you can build one yourself? Here, you’ll learn how to track where your visitor goes, where they come from, what browser they use, and how many total hits and unique hits you get complete with a login check.
If you’ve ever seen the Creating a Weblog In 15 Minutes movie, you were undoubtedly startled at how useful and quick the scaffold command could be. But if you’re still using PHP, and you love that command, then you could have a problem. Luckily, through the use of Object Oriented Programming, an equivalent solution is available, creating a full create, read, update, and delete CMS for a single table through one command.
When building a website, things can get a bit complicated with code written inside the template. A templating system serves to separate the structure (HTML) from the style (CSS) from the code/content (PHP and database) with PHP’s object oriented programming functions.
If you run a content driven web site, even a blog, one problem you might find is getting content. A great free source of content is RSS Feeds. Instead of manually adding each item in the feed into the database, you’ll set up a script to parse the feed and automatically add each item into the database.
This article serves to augment the previous article. Instead of writing to a file to make an RSS feed, php code is included that makes the output of RSS without writing to a separate file.
Learn how to take information in a MySQL database table and export it to RSS using the file writing capabilities of PHP.
How to construct a function to build the useful BBCode that are used in most forums.
An introduction to how to make simple functions using PHP.
How to build another PHP navigation using the switch() statements. Includes an explanation of GET variables.
How to use output buffers to cache code in PHP to make your applications run faster.
How to use object oriented programming in php to create a class to make interacting with MySQL databases much easier.
How to use PHP’s object oriented capabilities and build more sophisticated applications.
This tutorial teaches the very basics of editing rows in MySQL databases, very useful for mistakes made.
Statistics is something that can be very useful to any website, telling how many visits you have, how many are different people, and so on. This tutorial will tell how to do all of that with a MySQL database.
MySQL Databases are a pretty crucial part to expanding your knowledge of PHP. They can be used to store data much easier than in flat files, and are used for most big-time applications like forums or blogs.
One of the most basic and useful things in PHP is includes. You can use them for just about anything, and they carry many uses.