Protect your code

From: Date: Mon, 21 Jan 2002 11:38:41 +0000
Subject: Protect your code
Groups: php.general 
Request: Send a blank email to php-general+get-81346@lists.php.net to get a copy of this message
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

« previous php.general (#81346) next »