Hi all, the simple code snippet:
header('Content-type: image/gif');
$im = imagecreatefromgif("/path/Mypic.gif");
$background = imagecolorallocate($im, 255, 255, 255);
imagecolortransparent($im,$background);
imagegif($im,'/path/TransparentPic.gif');
imagedestroy($im);
is creating the new image b
Being JSON immediately parsable by both Javascript and PHP it is
possible to exploit it to keep the regular expressions for the input
fields in a single place, and avoid mantaining them synched between
the Js and PHP scripts!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
2 matches
Mail list logo