127 projects tagged "php class"
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.
RainCaptcha is a CAPTCHA class that does not require any image processing extensions (GD, ImageMagick, etc). CAPTCHA was developed to be readable by humans and resistant to OCR software. It generates black-and-white images with 5 distorted letters on them and noise. Its checking algorithm is case-insensitive.
EPD Cookie Class is a light weight PHP class that can track cookies and user consent within the Directive 2002/58 on Privacy and Electronic Communications, otherwise known as E-Privacy Directive, which is an EU directive on data protection and privacy in the digital age. It presents a continuation of earlier efforts, most directly the Data Protection Directive. It deals with the regulation of a number of important issues such as confidentiality of information, treatment of traffic data, spam, and cookies.