Posts Tagged ‘php

The methods/functions in the Fileinfo PHP extension “try to guess the content type and encoding of a file by looking for certain magic byte sequences at specific positions within the file. While this is not a bullet proof approach, the heuristics used do a very good job.”1 (Note that this module replaces the Mimetype module.) [...]

Simplicity and extensibility are the main reasons why PHP became the favourite dynamic language of the Web. In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale Web systems. Below I present 30 useful PHP classes and components [...]

Whenever you need to work with a 3rd party API or a gateway, you’d first search in Google for a possible wrapper for it in PHP. When it comes to supporting payment gateways, you get bunch of libraries in the search results who are fundamentally different. Some of them are old PHP 3/4 ones, some [...]

Easy Reflections, a PHP script that enables you to create reflections (Web 2.0 look) of any image. Supported image types are GIF, JPG & PNG. There is a built-in caching mechanism to prevent creating same images again & again. And, fade levels used can be configured. The script works with both PHP4 & PHP5 and [...]

LightForm is an AJAX – PHP Contact Form is a simple but handy script for creating charming & secure contact forms. It uses FormCheck2 for validation and NiceForms for the styling of the form. LightForm has the “question asking”  feature for eliminating spams & it provides the user IP, referrer and browser agent in the [...]


top