Hi
I am makin picture with imagecreate than I am showing tobackground with imagecolorallocate and I am printing with imagestring, my problem is ' I can't set this article's height, I wanna set it's height and I wanna to when the line was be full , it will pass to down
pt is punto
echo '<form action="" method="post">
<input type="text" name="text" id="text">
<input type="submit" value="submit">
</form>';
if(isset($_POST['text'])){
$text=$_POST['text'];
$image = imagecreate(300,300);
$background = imagecolorallocate($image, 250, 0, 0);//color
$imagecolor = imagecolorallocate($image, 0, 0, 0);
imagestring($image, 454, 6,5 , "$text", $imagecolor);
imagepng($image,"images/test.png");
sleep(2);// my pc is slow
imagedestroy($image);
}
$text is came to form.the user is determine($text)
[edited by: jatar_k at 2:32 pm (utc) on Jun 11, 2013]
[edit reason] fixed some funky chars [/edit]