Hi!
Using the method to build a html-page from png s you can in a way make it
inconviniant for the user
to reuse the html-code.
The problem is that the textquality is not very good and my host doesn´t
have support for gif with fontfiles.

I wonder if there is any other way to put text on your page, something like:
$string = include ("textmaker.php3?text=testword");

I am trying to build blanks for use as a memberservice and want it difficult
to reuse my code.
Any tips?

Thanks in advance

Regards,
Jan
---------
filename=index.php
<?
$head = "<img
src=\"imgtext.php3?text=testtext&left=340&c3=0&textsize=5&imheight=20\"
width=750 height=20><br>";
echo $head;
?>
-----------
filename=imgtext.php3
<?php
$im = @ImageCreate (750, $imheight)
    or die ("Cannot Initialize new GD image stream");
$background_color = ImageColorAllocate ($im, 255, 255, 255);
$black = ImageColorAllocate ($im, 0, 0, $c3);
ImageString ($im, $textsize, $left, 5,  $text, $black);
ImagePng ($im);
?>

--
Jan Grafström
Lillemans Hus AB

Bredsäter 2091
87010 Älandsbro
0611-60920
070-6409073


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to