|
The script used on this site was implemented in PHP with GD2 library. If you are interested in this PHP script, please fill out the form to request a link for downloading the PHP script. The download link will be sent to your email address. If you are a developer and would like to add new features/enhancements to this PHP script, we would greatly appreciate hearing from you.
<?PHP
......
// Function to draw the button image using the GD library
function makeButton ($buttonText, $buttonWidth, $buttonHeight,
$mouseUpOrDown, $bgColorRGB, $textColorRGB, $filename)
{
// Create the image resource
$image = imagecreatetruecolor($buttonWidth + 2 * $shadow,
$buttonHeight + 2 * $shadow);
......
}
......
?>
|
|