Tag Archiv: classes

PHP text file splitter

Package:
PHP text file splitter
Summary:
Split a file in multiple with limited lines
Groups:
Files and Folders
Author:
Chang Xiao
Description:
This class can be used to Split a file into multiple files with a limited number of lines.

It reads a file and counts its lines. If the file has more than a given limit of lines, the class generates multiple files, each with no more than the limit of lines.

The split files have a different file name prefix that is configurable.


PHP Scan

Package:
PHP Scan
Summary:
Scan and clean infected HTML and PHP scripts
Groups:
Files and Folders, PHP 5, Security
Author:
softcompany
Description:
This class can be used to scan and clean infected HTML and PHP scripts with unsafe tags.

It scans recursively a given directory for files with HTML or PHP file name extensions.

The class determines whether the scanned files have dangerous tag patterns. The files that have such tags and cleaned and rewritten.


Runescape Tools

Package:
Runescape Tools
Summary:
Create accounts and retrieve Runescape game data
Groups:
Games, PHP 5, Web services
Author:
Petter Kjelkenes
Description:
This package can be used to create accounts and retrieve Runescape game data.

It can send HTTP requests to Runescape Web services server to perform several types of actions.

Currently it can create user accounts, lookup high scores, retrieve game activity statistics, retrieve news, etc..


Simple XLSX

Package:
Simple XLSX
Summary:
Parse and retrieve data from Excel XLS files
Groups:
Files and Folders, PHP 5
Author:
Sergey Shuchkin
Description:
This class can be used to parse and retrieve data from Excel XLS spreadsheet files.

It can parse a given Excel XLS file by extracting its contents files and parsing the contained XML spreadsheet file.

The class provides functions to retrieve data for the spreadsheet worksheets, rows and cells.


Easy Query

Package:
Easy Query
Summary:
Execute common SQL queries from parameter lists
Groups:
Databases, PHP 5
Author:
a77icu5
Description:
This class can be used to execute common SQL queries from parameter lists.

It can perform SELECT, INSERT, UPDATE and DELETE queries using parameter values that define table names, fields, field values, condition, order, group and limit clauses.

The class can also retrieve query results into arrays.


Smart AJAX Controller

Package:
Smart AJAX Controller
Summary:
Generate AJAX request responses in JSON format
Groups:
AJAX, PHP 5
Author:
Kristo Vaher
Description:
This class can be used to generate AJAX request responses in JSON format.

It can define one or more keys and values that will define the actions that will be perform by JavaScript code on the browser side as response to an AJAX request.

The class converts the response values into an array that is outputted in JSON encoded format. The response may be compressed with GZip.


HTMLe

Package:
HTMLe
Summary:
Template engine extensible with plug-ins
Groups:
PHP 5, Templates
Author:
Mike
Description:
This package implements a template engine extensible with plug-ins.

The main class can process templates with marks defined by enclosing curly braces. Template marks may take attributes and eventually trigger invocation of external callback functions.

The package comes with additional scripts that work as plug-ins for functions like parsing and displaying RSS feeds, highlight PHP code, etc..


Crutch MySQL

Package:
Crutch MySQL
Summary:
MySQL database access wrapper
Groups:
Databases, PHP 5
Author:
Lawondyss
Description:
This class implements a MySQL database access wrapper. It can:

- Connect to a given MySQL database server host
- Execute arbitrary SQL queries
- Retrieve query results into arrays
- Retrieve the number of result set rows and fields
- Retrieve the number of affected rows or the last inserted identifier
- Execute SELECT, INSERT, REPLACE, UPDATE and DELETE queries from parameters
- Manage transactions


Nodal Analysis

Package:
Nodal Analysis
Summary:
Perform nodal analysis of linear circuit networks
Groups:
PHP 5, Physics
Author:
Bart Plovie
Description:
This class can be used to perform nodal analysis of linear circuit networks.

It takes as parameters the definition of nodes and connections between nodes of an electric circuit that maybe resistances, voltage and current sources.

The class performs the nodal analysis calculations solving equations to determine the voltage difference between nodes.


param

Package:
param
Summary:
Validate and filter request values
Groups:
HTTP, PHP 5, Validation
Author:
Domenico Pontari
Description:
This class can be used to validate and filter request values.

It can take given POST or GET request values and validate them according to the expected type of the value. The types may be scalar, arrays or objects in JSON format.

The class can also filter values with a maximum length and discard values that seem to be used for SQL injection attempts.

The class can assume a default value for missing or invalid request values.


Powered by Gewgley