Hi ı am makin picture with imagecreate than I am showing tobackground with imagecolorallocate and I am printing with imagestring, my problem is ' ı can't set this article's height, ı wanna set it's height and ı wanna to when the line was be full , it will pass to down pt is punto
thank you 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); } PHP: $text is came to form.the user is determine($text)