PX : code by Petter Nilsen

TitleSectionRating Views Last Modified    
Binary pattern match 1.0 algorithms : sorting -- 11411 1999-06-08 11:44:41 [ show ]
This is a function that will return the filetype of a file. It will perform a binary pattern match of the contents of the file. An array defines the filetype and associated pattern.
bubblesort 1 algorithms : sorting -- 11975 1998-03-03 15:03:55 [ show ]
This is a simple bubblesort that takes 2 arrays as argument.The first one is the actual data used for sorting, the second is data that will "tag along" with the first array, for instance a descriptive text about the data in the first array.

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.