Geekpedia Programming Tutorials






Tutorials and Code PHP Tutorials and Code

1 2 3 4
(61 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

*****
4.67 from 3 votes

Jul 31st 2009
by Andrew Pociu

Display Time Left To a Date

A PHP function to display the time between now and a future date supplied as Unix time, in human readable format, using two blocks of time periods (year, month, week, day, hour or minute.)

Tutorial

*****
4.59 from 12 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

*****
5 from 1 votes

Jul 31st 2009
by Andrew Pociu

Display Time That Passed Since a Date

Calculate the time that has passed since a specified Unix formatted date and time, and show it in a human readable format, all in a PHP 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 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.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 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

****-
4.07 from 14 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

*****
5 from 1 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.

1 2 3 4
(61 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