Im am doing this as a test so it is very primitive. I want to be able to type in some text in a form and have it appear on a picture. The form works fine but the text doesn’t show up on the picture (it doesn’t show up at all)
Here is the form script
<form action=”PicRe.php” method=”POST”>
Enter Text: <input type=”text” name=text/>
<input type=”submit” value=”Go!”/>
</form>
Here is the picture/text script
<?php
$text=$_POST[“text”];
$picture = imagecreate(“300”, “200”);
$ImageColor = imagecolorallocate($picture, 0x00, 0x00, 0x00);
$TextColor = imagecolorallocate($picture, 0xFF, 0xFF, 0xFF);
ImageTTFText($picture, 12, 0, 10, 100, $TextColor, “Verdana”, $text);
header(“content-type: image/JPEG”);
ImageJPEG($picture);
?>
If you want an example of what is wrong, go [URL=http://strikershot21.hollosite.com/Pic.php]here