Perfidus
04-14-2004, 04:23 PM
I'm trying to point the PHP to a certain font, but it doesn't find it, the way I'm doing the things is as follows:
$font_file = $_SERVER[DOCUMENT_ROOT]."images/fonts/verdana.ttf";
What can be wrong?
If I echo the root, it brings me the following:
/home/chs/myweb.com/home/html
I have also tried like this:
$font_file = /home/chs/myweb.com/home/html/images/fonts/verdana.ttf";
iT DOESN'T WORK NEITHER!!
$font_file = $_SERVER[DOCUMENT_ROOT]."images/fonts/verdana.ttf";
What can be wrong?
If I echo the root, it brings me the following:
/home/chs/myweb.com/home/html
I have also tried like this:
$font_file = /home/chs/myweb.com/home/html/images/fonts/verdana.ttf";
iT DOESN'T WORK NEITHER!!