Posted by NC on 01/25/06 20:28
Ubantu Rococo wrote:
>
> I am having trouble mixing imagecopy etc. with HTML.
For a good reason; you're not supposed to do that.
You can have a script that generates HTML; if you want your script to
output an image, you must make it separate from scripts that generate
HTML. Something like this:
<img src="picture.php?input1=abcd&input2=78">
Then picture.php can generate the image you want based on inputs you
specify...
Cheers,
NC
Navigation:
[Reply to this message]
|