Calculate Zip Codes Snippets


24 July, 2014   

Calculate distance between two zip codes or postal codes.

30 March, 2011   

Need to unzip a file? this function can do that for you. It is reccomended that the functions.php file and the file that exicutes the unzip function are NOT in the same directory as the zip files. unzip ( string $zipfile , string $newLocation ) zipfile gets the name of the current zip file. newLocation is where you want to store all the...

19 October, 2013   

Mysql code shows how to calculate last 7 days

C++ source code for standard ASCII table generator

Example code shown here Skeleton codes for Threading on iPhone

MySQL code example to calculate age from Date Of Birth

07 March, 2011   

Shows how to create a simple file download by using PHP. The content could also be dynamically generated)

30 December, 2010   

Class to back up entire databases and email them out, or individual tables

This is a PHP Class that calculates the size, number of files & folders of a specific directory.

18 August, 2011   

The example Python code to Rotate sequences left or right

09 February, 2011   

Class to back up entire databases and email them out, or individual tables.

02 November, 2016   

A PHP template for dealing with any sort of error

25 March, 2012   

JavaScript Codes to show alert box on mouse over

How to calculate distance between Mouse and Element

Scripts used to calculate Daylight Saving Time (DST) for the US and EU. Valid for years 1900 to 2099. [DST wasn't adopted until the 1950s-1960s for US and 1990s for the EU] By: brad degrandis

PHP code to calculate the difference between two dates

24 July, 2016   

Dynamically add form fields to your forms.

23 August, 2014   

Correctly calculate the date of Easter Sunday.

Usually when you try to download something from a web server you get a request asking whether you want to save the file or open it. To avoid that you can use the below code on your .htaccess file

CSS code snippet for Style Links Depending on Destination