Hello,
So I'm trying to run some scripts on a free server that I'd originally run without a hitch on a friend's server. I'm having a problem with a "warning cannot open/find font" message. The font file is there and it looks like GD library and freetype are both installed so I'm not sure what is going wrong.
If you want to check it out directly just go to http://supark.togetherhost.com and try one of the forms. Not sure what I'm doing wrong... it is a free hosting service though..
Thanks alot! Sung
if your 'fonts' folder is in the root directory this should do, otherwise edit $path2fonts:
$path2fonts = $_SERVER['DOCUMENT_ROOT']."/fonts/"; $font = $path2fonts."ARIAL.TTF"; // for example