A
Anonymous
Guest
Try:
or
Code:
...
$fontname = '/arial.ttf';
...
Code:
...
$fontname = 'C:\WINDOWS\Fonts\arial.ttf'
...
^ That might be the problem its searching for it rather then opening it.PHP.net said:... Depending on which version of the GD library that PHP is using, it may attempt to search for files that do not begin with a leading '/' ...