Hello,
I am using the following code.
?php
$img_number = imagecreate(100,20);
$white = imagecolorallocate($img_number,255,255,255);
$black = imagecolorallocate($img_number,0,0,0);
$grey_shade = imagecolorallocate($img_number,204,204,204);
imagefill($img_number,0,0,$white);
$number = $_GET['text'];
Hello Richard,
Monday, May 2, 2005, 4:47:42 PM, you wrote:
RC But I need to center the text in the image that is generated. As I
RC am using the same font and it is fixed at 10px I was thinking of
RC doing something like:
RC (Get Length of Text in Chars * Width of Average Char) DIV 2.
RC
2 matches
Mail list logo