Len's PHP Collection
This is a compilation of classes and functions I created im php. They are all released under the LGPL license and are free of charge. Use them for your own purpose. Enjoy...
anyDB | BookmarkParser | debugHelper | FileDB | Forms | IPTracker | Metatags | quickSearch | Smileys | UBBCode | Uploader | URLHelper
(sourceforge.net project page)
anyDB
- A database abstraction layer, that allows easy access to MYSQL, POSTGRESQL, SQLITE, ODBC and to other databases.
- Ease of use was the main idea behind this class. The goal was to develop a class that has few but powerful functions. Additional, advanced features like paging, and dumping of data are provided as well.
- Works with PHP4 and PHP5.
- Download | readme | changes | anyDB interface
- Vote for this class at hotscripts.com | phpclasses.org
BookmarkParser
- A class, to process Internet Explorer, Netscape and Opera bookmarks.
- The class iterates through a given set of bookmarks and calls user defined functions for different events. With this bookmarks can easily be ported, saved or displayed on web pages.
- Works with PHP4 and PHP5.
- Download
- Vote for this class at hotscripts.com | phpclasses.org
debugHelper
- A class, that provides useful functions for daily programming tasks.
- The class provides JAVA style error messages for PHP. It has a nicer display of variable contents than PHPs print_r() function. It can take execution times, has a better highlight_file() function and a couple of other handy functions.
- Works with PHP4 and PHP5.
- Download
- Vote for this class at hotscripts.com | phpclasses.org
FileDB
- Class to store (binary) files in a database.
- It provides an interface to store and retrieve files from a database. Ideal for images or packed files. It keeps track of the number hits for a single file and the last access date. It requires my anyDB package to run.
- Works with PHP4 and PHP5.
- Download
- Vote for this class at hotscripts.com | phpclasses.org
Forms
- Class for generating HTML forms.
- Lo-fi class for generating HTML code for entry fields, checkboxes, etc.
- Works with PHP4 and PHP5.
- Download
- Vote for this class at phpclasses.org
IPTracker
- Class for storing visitor data in a db or textfile.
- Class for storing visitor data in a db or textfile
- Download
- Vote for this class at phpclasses.org
Metatags
- Class to create HTML META tags.
- Lo-fi class to create META tags for the HTML head section. Easy way to create the description, keywords and other metatags.
- Download
- Vote for this class at hotscripts.com | phpclasses.org
quickSearch
- This class integrates various search engines into one entry form.
- The class creates a search field and a dropdown to select the search engine, similar to the Firefox and Opera search. Search engines can be freely defined and added via .ini files. Examples for amazon.com, ebay.com, google.com and php.net are included.
- Download
- Vote for this class at phpclasses.org
Smileys
- A class that parses a given text for smiley tags.
- A simple class that looks for smiley tags in a text files and replaces them with user defined images. The images and smiley tags are defined in a .ini file.
- Download
- Vote for this class at hotscripts.com | phpclasses.org
UBBCode
- A class that parses a given text for UBB bulletin board tags.
- A simple class that looks for UBB tags in a text files and replaces them with the corresponding HTML code.
- Download
- Vote for this class at hotscripts.com | phpclasses.org
Uploader
- Class for handling file uploads.
- This class makes file uploading a matter of a few lines. It builds the upload form and handles the uploading process. Allowed file types and file size can be defined.
- Download
- Vote for this class at hotscripts.com | phpclasses.org
URLHelper
- Class for accessing URLs and the HTTP data.
- With this class you can retrieve the HTTP return codes, the HTTP header, the web page title, etc.
- Download
- Vote for this class at hotscripts.com | phpclasses.org