Geekpedia Programming Tutorials









Tutorials and Code PHP Tutorials and Code

1 2 3 4
(48 tutorials and code in 4 pages)
Latest Tutorials: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Latest Code: RSS Feed RSS Feed     KlipFolio Klip Klip     Add to Google    Add to My Yahoo!    Subscribe in NewsGator Online    Add To Windows Live    Subscribe with Bloglines   
Tutorial

*****
5 from 14 votes

Mar 5th 2006
by Andrew Pociu

Creating friendly URLs with mod_rewrite

This programming tutorial will teach you how to build search engine friendly URLs in PHP, which contain keywords and use HTML extensions. We are going to use the htaccess file and mod_rewrite module running on an Apache server.

Code

***--
3 from 1 votes

Mar 7th 2008
by Andrew Pociu

Efficiently get a Random Array Element

An efficient way to show a random value from an array, using PHP's array_rand() functions.

Tutorial

****-
3.8 from 5 votes

Feb 11th 2006
by Andrew Pociu

Foul language filter in PHP

You will learn how to create a simple PHP foul language filter function which uses a file containing foul words to replace them in the string of your choice with asterisks.

Code

-----
No votes

Mar 7th 2008
by Andrew Pociu

Alternating Row Colors

This sample code shows you a different method of alternating row colors in PHP when fetching data from a database using a while loop. The most popular method uses the modulus operator, this one uses a conditional inline statement.

Tutorial

*****
4.24 from 18 votes

Dec 29th 2005
by Nabeel Akhtar

How to read XML using PHP DOM

This tutorial will demonstrate the use of DOM extension in PHP to read contents of a XML file.

Code

-----
No votes

Mar 4th 2008
by Andrew Pociu

Array of States and their Territory Code

A PHP array of US state abbreviations and their corresponding territory code, including the leading zero.

Tutorial

****-
4.05 from 20 votes

Oct 5th 2005
by Nabeel Akhtar

PHP and Javascript: Dynamic update with MySQL

This tutorial shows you how to create a Web page that extracts information from a MySQL database without refreshing the page (dynamic update). Javascript and PHP knowledge is required

Code

-----
No votes

Mar 4th 2008
by Andrew Pociu

Array of Street Types and their Abbreviations

A PHP array containing the street types / designations and their canonical form / abbreviation, following the USPS standard.

Tutorial

*****
5 from 2 votes

Oct 1st 2005
by Andrew Pociu

Log visitors with PHP & MySQL

In this tutorial you'll see how you can track your website's visitors and getting information such as user-agent or referrer. Also, we'll be using reverse DNS to find out more interesting information about his IP.

Code

*****
5 from 1 votes

Feb 29th 2008
by Andrew Pociu

Get the modified date and time of a file using PHP

An example on how to use the filemtime() function to retrieve the last update date and time of a file.

1 2 3 4
(48 tutorials and code in 4 pages)
Filter Results
Show:


Latest IT Jobs


Other Resources
Latest Tech Bargains

Advertisement

Free Magazine Subscriptions

Today's Pictures

Today's Video

Other Resources

Latest Downloads

Latest Icons