PHP Imagecreate Script

PHP Imagecreate Script is small PHP script we are offering for free. This script generates an image and can be used in validation forms that are ment to avoid form spam.

header ("Content-type: image/png"); $im = @imagecreate (40, 20) or die ("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate ($im, 255, 255, 255); $text_color = imagecolorallocate ($im, 40, 14, 91); imagestring ($im, 2, 5, 5, $_SESSION[imgcode], $text_color); imagepng ($im); imagedestroy ($im);

More PHP Scripts:

Commercial Scripts

Free Scripts

Products Sites

Ads