Package:
Summary:
Validate and process upload files
Groups:
Author:
Description:
This class can be used to validate and process upload image and document files.
It takes the name of an file upload input field and validate its values to determine if it was uploaded a file of the accepted types and the file size does not exceed a given limit.
If the file is valid, it is copied to a given destination directory. The class creates that directory if it does not exist already.
If the file is an image, the class may also create a thumbnail image.
Package:
Summary:
Filter request values to avoid insecure values
Groups:
Author:
Description:
This class can be used to filter request values to avoid eventually insecure values.
It can traverse the HTTP POST and GET request variables and perform several operations to filter their values.
Currently it strips slashes, encode HTML entities, replace script tags and escape values for use in MySQL database queries.
Package:
Summary:
Call a function after a period of time
Groups:
Author:
Description:
This class can be used to make PHP call a function after a period of time.
It can register one or more callback functions that should be called after a given timeout value or every time after a given period of time elapses.
The class registers a single callback function to handle PHP tick calls. That function takes care of calling all registered timer callback functions.
Package:
Summary:
Manage a balanced tree of text word nodes
Groups:
Author:
Description:
This package can be used to manage a balanced tree of text word nodes.
It implements a left leaning Red-Black binary search tree that uses Node objects instead of arrays to implement the tree data structures.
It can perform operations on nodes of text words like insert, search, delete and traverse the tree, maintaining a balanced and correctly formed tree after all operations.
Package:
Summary:
Convert images into colored HTML text
Groups:
Author:
Description:
This class can be used to convert images into colored HTML text.
It can open an image in JPEG format and traverse its pixels to generate HTML that renders the image as a sequence of colored characters of 1 pixel of width and height.
The generated HTML can be saved to a given file.
Fancy creating your own programming language? Or perhaps you want to write a compiler or interpreter for an existing language? Check out the latest addition to
the Free Compiler Construction Tools: Lexers, Parser Generators, Optimizers
page. The program, re2c, creates a fast lexical scanner for regular expression matching. It can take its input from anything you want, even a buffer that
you create on-the-fly, since unlike most lexical analyzers, it is not tied to any input model.