PHP Text Processing
Free and open source PHP Text Processing Scripts. This category contains Text Encode, translation and so on.-
Text files are a common means to store data that many application still use, like for instance log files or tabular data files.This class is meant to convert tabular text data or files into arrays.After converting the data into an array, it is easier to manipulate or convert to other formats, such as inserting into databases or generating reports.
-
strStream class parses flat text files with arbitrary structure.
-
Use htmlcleaner to clean up the mess returned from a MSHTML/IE based WYSIWYG editor in the case your users copy and paste from Word.It's not remotely as good as htmlTidy, but its pure php.
-
A base class and 2 derivated classes to generate clients for dictionary servers that follow the DICT protocol (RFC 2229), such as the server at dict.org.Included also 2 examples of query interfaces generated using these classes, one performs a simple search, and the other shows how to get information from the dictionary server and use that to generate a form ...
-
floMessages is a simple class that can be used to generate random text messages. It provides means to build multiple lists of text messages. Then it can pick a random message from on of the lists that was built.floMessages could be useful in an Adlib type application or in an environment requiring numerous random textual responses. It can also be ...
-
pdf_search is a class to search text in pdf documents. Not pretending to be useful other than that, but it can easily be extended to a full featured pdf document parser by anyone who chooses so.
-
Write Farsi to Image is a simple class with a single function that can translate Farsi text so it can be used to render in an image with special TrueType fonts using the function ImageTTFText of the PHP GD extension.To render the converted text you need a special type of Farsi font. Please contact the author for more information on ...
-
Spam Filter can automatically classify text messages to determine whether or not their are considered to be spam. It can build a knowledge base of known text expressions that can be looked up later to evaluate a factor that expresses the probability of a given text to be spam.Spam Filter could be used in Web mail applications or even in ...
-
Permutation to permutate a string (short one) to return subsets with variable parameters. "ABC" returns a,b,c,aa,ab,ac,ba,bb,...abc,aca,acb ... Initially implemented with a recursive solution there was the bothersome stack overflow and also other minor problems... later when implemented with a tripple for loop it still fails the volume test though try not to have too many characters or it will exceed ...
-
This class can filter input of stray or malicious PHP, Javascript or HTML tags and to prevent cross-site scripting (XSS) attacks. It should be used to filter input supplied by the user, such as an HTML code entered in form fields.I have tried to make this class as easy as possible to use. You have control over the filter process ...
-
Aprint is a small class built to print many text directly from PHP at server side when the Web server is running under Windows.Features of APrint:- Set the page margins- Define many font parameters like font type, size, underline- Use different font type for each line- Automatically start new page when the previous is full- Simple page numbering- May choose ...
-
Pure PHP Spell Check perform spell checking of text using only base PHP functions, thus without using specific spell check PHP extensions such as aspell or pspell.The class uses a dictionary that is implemented as an array-based binary search table. The binary search table declaration is saved to a file for speed and can be updated easily by the developer.
-
Input Class implements a way to sanitize the input values passed to a script.It can sanitize values set either as strings or arrays. In the case of array values, these may be processed recursively if they define multi-dimensional data structures.Input Class also provides a unified way to access to different types of input values assigned to the super-global variables POST, ...
-
PHP Babelfish can translate text between idioms using Altavista Babelfish translation services. It can translate plain text or text with HTML excerpts.PHP Babelfish allows for large amounts of text to be translated because it uses the URL translate function of Babelfish, rather than submitting the form with the text to be translated.
-
Javascript Obfuscator is meant to parse Javascript source code to rewrite obfuscated equivalent version.The obfuscation is done by removing unnecessary remarks, white spaces, carriage returns and other non-functional characters from the source code.

