Turn on the @imagecreatetruecolor
in your php file you create a image:
$im = @imagecreatetruecolor(460, 80);
$transparent = ImageColorAllocate($im, 0, 0, 0);
ImageFill($im, 150, 40,$transparent);
ImageColorTransparent($im, $transparent);
etc.etc.etc
<?
/// check of the browser is IE 5.x or 6
if (!strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE')) { ?>
/// if not
<img src="yourfile.php" border=0>
<? } else { ?>
/// if it is
<DIV ID="myDiv" STYLE="position:relative; filter:progid😃XImageTransform.Microsoft.AlphaImageLoader(src='yourfile.php',sizingMethod='scale');"></DIV>
?>
It's not my own solution but it works for me
The only thing i had to change is the black lines 0,0,0 mages to
an other black color 2,2,2 for example otherwise he made this lines also transparent.