WindowsExplorer wrote:
What was this supposed to do?
Last edited by Greenatic (2011-09-15 17:43:15)

Offline
rookwood101 wrote:
if you tell us the code, then we may be able to help you.
<?php
header("Content-type: image/png");
$string = $_SERVER['REMOTE_ADDR'];
$im = imagecreatefrompng("images/button.png");
$color = imagecolorallocate($im, 255, 255, 255);
$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
$py = 9;
$fontSize = 1;
imagestring($im, fontSize, $px, $py, $string, $color);
imagepng($im);
imagedestroy($im);
?>Offline
well first of all, I can't find the button image at http://plaxon.comyr.com/images/button.png
Offline
rookwood101 wrote:
well first of all, I can't find the button image at http://plaxon.comyr.com/images/button.png
Got the image uploaed, but the text isn't printing.
Offline