Geekpedia Programming Tutorials






Tutorials and Code PHP Tutorials and Code

1 2 3 4
(59 tutorials and code snippets 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

***--
2.5 from 6 votes

Sep 19th 2007
by Andrew Pociu

Parsing Character Delimited Files into Arrays

In this tutorial you will learn how to parse a multiple-line character delimited text file into a two dimensional array using PHP.

Code

-----
No votes

Oct 17th 2008
by Andrew Pociu

Basic Hit Counter In PHP

A very basic hit counter in PHP; it uses a text file to store the number of hits and displays the number of current hits.

Tutorial

*****
4.5 from 10 votes

Aug 6th 2007
by Andrew Pociu

Creating a UPS Shipping Calculator

This tutorial will teach you how to calculate the shipping cost based on the weight, height, length and depth of the box, the distance and the UPS service type. A sample form will be created that will post information to a UPS page. The PHP script will then retrieve and display the shipping cost.

Code

-----
No votes

Oct 6th 2008
by Andrew Pociu

Convert RGB Color Value To Hexadecimal

A simple way to convert RGB colors to their hexadecimal values by using the dechex() function.

Tutorial

****-
3.67 from 3 votes

Mar 28th 2007
by Sorin Sodolescu

Factorial and Greatest Common Divisor

This tutorial demonstrates how to calculate the greatest common divisor and factorial numbers by doing basic math with PHP.

Code

-----
No votes

Oct 4th 2008
by Andrew Pociu

Emulate register_globals Flag As On

How to emulate the insecure, deprecated register_globals flag so that you can access GET and POST keys as PHP variables.

Tutorial

*****
4.74 from 12 votes

Jun 27th 2006
by Jatinder Thind

Prevent Duplicate Form Submission

Learn how to use PHP sessions to prevent duplicate form submission or re-submission.

Code

-----
No votes

Oct 1st 2008
by Andrew Pociu

Show Page Load Time In PHP

Using a line of code at the beginning of the file and a function call at the end, you can count the number of milliseconds it took PHP to load the page.

Tutorial

*****
4.18 from 11 votes

May 3rd 2006
by Nabeel Akhtar

How to create an AJAX contact form

This tutorial shows users how to create an AJAX contact form. The form method in this tutorial is set to POST.

Code

-----
No votes

Sep 29th 2008
by Andrew Pociu

Generate Gradient Within Hex Range In PHP

A function that generates an array of hex colors that forms a gradient, starting from a hex color and ending with another hex color. The number of gradient steps can also be defined.

1 2 3 4
(59 tutorials and code snippets 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 Download

Latest Icons