Class My Hosting Requirements

This is a simple class that can be used to calculate hosting bandwidth based on its audience. It takes as parameters the average number of visitors, page views per visitor and page size. The class calculates estimates and displays the average bandwidth usage per day, per month, per visitor, minimum…

Continuar leyendo

Class MyBox

This is a very simple class that can calculate volumetric weight of a package. It takes the dimension of a package defined by its width, height and depth, and computes the volumetric weight. The class displays the volumetric weight of the package expressed either in Kg or pounds. Volumetric weight…

Continuar leyendo

Class Supervisor of filling of folders

This class can be used to monitor the size of files in file. It can traverse a given directory recursively and account the size that files are taking in the disk. The class can repeat the process after a given period of time and the it display a chart using…

Continuar leyendo

Class AutoRSS

This class can be used to generate a RSS feed from files pf a directory. It can read the list of files available in a given server directory and generates an RSS 2.0 feed with the list of files. The base URL for the files and other details are configurable…

Continuar leyendo

Class Upload and Compress

This class can add uploaded files to a ZIP archive. It can generate HTML for a form to upload a file. The class can handle the request when a file is uploaded and add it to a ZIP archive in a certain directory. It can also generate a random file…

Continuar leyendo

Class AutoForm

This class can be used to generate forms to edit MySQL database table records. It connects to a MySQL database and executes a given query to retrieve the values of the table records to edit. The class generates HTML form fields to edit the specified table records. Download AutoForm

Continuar leyendo

Class Auto CMS

This class can be used to generate a basic content site. It can present a form in an administration page protected with a password to let the administrator set several options about common site content sections that it supports. The class can generate PHP file with definitions that set configuration…

Continuar leyendo