Re: [PHP] using ImageTTFText in a page

2007-04-24 Thread Richard Lynch
On Mon, April 23, 2007 12:50 pm, Ross wrote: > This script work on it's own but fails when emeded in another php > file. Embedding it in another file how?... > All > I want to do is create a function and call it passing a text > parameter. Also > is it possbile to output the image to a file inser

Re: [PHP] using ImageTTFText in a page

2007-04-23 Thread Daniel Brown
Is it still in the same directory as the font you're calling? Try removing all spaces from the filename, then modifying it in your PHP code, calling the full path (or relative path). If none of this seems to be the case, make sure your PHP script isn't trying to output anything before this co

[PHP] using ImageTTFText in a page

2007-04-23 Thread Ross
This script work on it's own but fails when emeded in another php file. All I want to do is create a function and call it passing a text parameter. Also is it possbile to output the image to a file insert the url into a tag? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,