File upload and validation class is a PHP class that can be used to validate and process uploaded files. It can validate a given uploaded file by checking its MIME type or its original file type, and by checking its file size against a given limit and file type. It currently supports audio, video, PDF, and image file uploads. The class can create a path in the server as well.
Simple Login Class is a PHP class that can be used to prevent unauthorized access of Web pages. A simple user management system can be implemented with this class very quickly. It does not use databases or database queries to store the user details. Instead of a database, it uses a text file to store the details. An access encoding technique (Base64), two hashing techniques (SHA1 and MD5), an a built-in PHP function (StrRev) are used here to store passwords more securely in the text file. Simple Login Class can be used in any PHP page just by embedding a snippet at the top of a the page to be protected. Any number of user logins can be stored more securely in a single file. The sessions are handled more safely in this system than some other login systems. The user registration system applied here is simplified. In certain cases, no configuration is needed to use this class.
GreenPants is a simple blog system. The entries are organized with categories. There is an admin panel for managing the blog. Comments on the blog must be approved before being seen by the public. The administrator can edit, delete, and create entries, categories, and emoticons. The entries and the comments are marked up with BBCode instead of HTML. It is easy to translate to another language.
datafromdump is a class that manipulates table dumps from full MySQL database dumps. The SQL CREATE and INSERT statements for a number of given tables can be extracted and executed immediately or saved to a new database dump file. During the first scan of a dump file, it tries to create a "metadata" file, so the subsequent data extraction jobs will be much faster. CREATE TABLE operators can be executed or included into the resulting SQL file or not, according to passed parameters. A short "statistic page" can be printed after the job.