Php
Path Computers    Programming    Php
All tutorials in Php
Sort By:    Name   Rating   Views  Comments    Date 
Advanced Navigation using Includes
Submitted 23 June 2008

A very simple way of doing the index.php?page=page_here. Includes a few configuration options.

Views: 829 Comments: 0

E-mail newsletters are a very popular method of maintaining an open channel of communication with your site visitors. They have the great benefit of keeping a site's current user base up-to-date on the latest news and offerings from the organization. Moreover, they have the potential for turning site visitors into site customers or donators. For newsletters to be successful logistically, they...

Views: 684 Comments: 0
Dynamic PHP Google Sitemap
Submitted 24 April 2008

This tutorial will show You how to generate google sitemaps based on Your site MySQL structure. I hope this tutorial will save up some time. First we have to make our map skeleton with some needed stuff (for example database connection)

Views: 2525 Comments: 0

When a search engine visits the dynamic url like product.php?id=5 it does not give much importance to that URL as search engine sees “?” sign treat it as a url which keeps on changing. so we’re converting the dynamic URL like the product.php?id=5 to static url format like product-5.html. We’ll rewrite the url in such a way that in browser’s address bar it will display as a product-5.html but it...

Views: 897 Comments: 0
Intro To Object: Option Variables
Submitted 24 April 2008

New tutorial description Now that we have our first simple class we're going to modify it a bit.We're going to use the same class and function as in the last tutorial, but these will be slightly modified. We're going to make it where we can do different code based on the variables passed to the function. Again I'll refer to my db class as an example.

Views: 671 Comments: 0
PHP Thumbnail Generation Script
Submitted 24 April 2008

This tutorial focuses on a thumbnail generation script I wrote for the Accidental President site. Rather than generating a smaller representation of the image, it cuts out a section of the photograph to create an obscure snapshot of the photo itself. The thumbnail's size is variable also, so the script be used across different sites to create different sized thumbnails where needed.

Views: 3843 Comments: 2
Random Password Generation
Submitted 24 April 2008

For this script we will be creating a PHP function to generate the code. I will not discuss functions in great detail here and so I will presume you know pretty much what they are and how and why they are useful. Put simply, using a function to do the work you can use it from anywhere in your application and therefore do not need to rewrite code. I will also presume you know where to put the...

Views: 2515 Comments: 1
RSS Feed from a MySQL Database
Submitted 23 June 2008

This tutorial will teach you how to create a simple RSS 2.0 compliant feed from a MySQL (or others with a few small changes) database.

Views: 778 Comments: 0
Sending SMS with PHP
Submitted 24 April 2008

SMS (also known as text-messaging) has grown into a very popular method of communication. It has been around in Europe and Asia since the early nineties and its use is steadily increasing in the US as well. SMS stands for "Short Message Service" and uses mobile phones to transmit (surprise, surprise) short messages to and from mobile phones and whilst many of us might not know this, it...

Views: 4129 Comments: 0
Simple swear filter tutorial
Submitted 23 June 2008

In this tutorial you’ll learn how to censor the swear words and profanity on your website.

Views: 686 Comments: 0

If you become clear with the concept of integer and string in PHP then you’ll obviously come to know that why those functions are not working sometime to validate integers in PHP. Let’s look at this by an example

Views: 694 Comments: 0