Thank you for your interest in my atextimage class.
To answer your question, Perl and PHP will not run in the same page. However, the usual common way to use this class is to have a separate php script that will display or save the image with text. To do that, reference the php script in an <img> tag in your html code. For example, for using the formimage.php script, the tag might look like this:
<img src="formimage.php?img=image.jpg&txt=a line of text">
This is just a simple example. But you can see the method of how to use it. This is assuming that the formimage.php script and the class file are in the same directory as the page that uses it. If you have further questions, I am here to help.
George Clarke
[email protected]