View Single Post
Old 12-16-2012, 03:24 AM   PM User | #2
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Quote:
nothing shows on the screen..
Do you mean you have an entirely blank screen or just that the image doesn't display? Does View Source for the page reveal anything?

Please edit your code: the closing tag is [/ CODE] (without the space) and there is a separate button for PHP code-wrapping.
PHP Code:
putenv('GDFONTPATH=C:\Windows\Fonts');

$fontname getenv('GDFONTPATH') . '\comic.ttf'
You might need to double-escape \\ these, and access to this C-drive location may be an issue (even if just testing it locally). Added: I think you might need to save a font (.ttf) within your domain(?).
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS

Last edited by AndrewGSW; 12-16-2012 at 03:40 AM..
AndrewGSW is offline   Reply With Quote