|
Posted by Schraalhans Keukenmeester on 06/11/07 20:46
At Mon, 11 Jun 2007 13:22:32 -0700, CptDondo let h(is|er) monkeys type:
> I have the following snippet I wrote that worked fine using a home-built
> ming library. Now it turns out it's not a part of PHP4, which is what I
> have:
>
> $f = new SWFFont("/lib/flashfonts/Bitstream Vera Sans.fdb");
> $t = new SWFText();
> $t->setFont($f);
> $t->moveTo(0, 0);
> $t->setColor(0xff, 0xff, 0xff);
> $t->setHeight($fontHeight);
> $t->addString("");
>
> Could some kind person please clue me in on how to write this for PHP4?
> I can't find any good examples or go-bys.
>
> Thanks,
>
> --Yan
AFAIK ming support was added in PHP4's early versions. I see no methods/
properties in your example that aren't covered by it. Perhaps your host
just hasn't built their PHP with ming support enabled.
http://www.php.net/manual/en/ref.ming.php
If that's the case I don't know how to get by this limitation other than
switching hosts or ask your current provider to enable ming.
HTH
--
Schraalhans Keukenmeester - schraalhans@the.Spamtrapexample.nl
[Remove the lowercase part of Spamtrap to send me a message]
"strcmp('apples','oranges') < 0"
Navigation:
[Reply to this message]
|