psychiccyberfreak
Nov 8 2006, 10:45 PM
hey, I'm making a PHP script that generates an image with random text in it (to prevent spambots), and I need a TTF font to use it, but I'm not sure which ones are on the server. here's the code I need it for if it helps, I'm a linux guy but don't know much about where it looks for it: CODE <?php $font = ".ttf"; // This is the font I need $font_size = 10; $angle = 0; $box = imagettfbbox($font_size, $angle, $font, $_SESSION['rand_code']); $x = (int)($imgX - $box[4]) / 2; $y = (int)($imgY - $box[5]) / 2; imagettftext($image, $font_size, $angle, $x, $y, $text_col, $font, $_SESSION['rand_code']); //then prints out the image ?>
Oh yeah, and by the way, the live support on computing host is terrible.
Reply
Saint_Michael
Nov 8 2006, 10:56 PM
Why don't you use the standard fonts Arial, Helvetica, sans-serif combo. But I do believe you have to upload the fonts yourself to your account in order to use them that way. I don't think hosting accounts come with a standard font package except for the 3 i just mention.
Reply
psychiccyberfreak
Nov 8 2006, 11:34 PM
yeah when I plug those in I still get the same errors.
Reply
ghostrider
Nov 8 2006, 11:43 PM
you might be able to check using the function phpinfo(). It displays a whole list of settings and options with PHP. Its really really useful.
Reply
psychiccyberfreak
Nov 8 2006, 11:46 PM
hmmm... I can look that up on my joomla backend, but I don't think it will do much. Mabie I should check the php manual...
Reply
CrazyRob
Nov 14 2006, 06:57 AM
Try PHPInfo it may answer your question.. although i dont recall any thing on php info telling you what fonts you have on your server. Also you probably knew this already, but to have an image verification box the server requires GD installed on it.
Reply
OpaQue
Nov 23 2006, 01:34 PM
QUOTE(psychiccyberfreak @ Nov 9 2006, 04:15 AM) 
Oh yeah, and by the way, the live support on computing host is terrible. It depends on what type of questions you have for the support techs and how you present them. ComputingHost provides 3 channels for Support. Helpdesk, Chat and Forum. Helpdesk is used for technical errors and server related queries. Chat is used for Cpanel and website related problems. However, one cannot expect a network admin to know all the programming languages used on the web. As far as Forums as concerned, its best for website related (graphics, designing, html, programming...) queries Thanks
Reply
Similar Topics
Keywords : ttf fonts server- Sites Down After The Upgrade
- Server not found error (8)
- Is The Server Down? [resolved]
- (6)
Hi, I have tryed opening a ticket for this but got no responce. I have also been waiting 40mins at
the live help desk, again with no responce. (it does say-- Please wait, an operator will be with you
shortly. -- but how long is shortly?). Anyway, as I asked in the support ticket... Hi, can you
tell me if there is something wrong with your servers. my site went down last night and it is still
down now. my domain name is: clickit-hosting.com I also have so addon domains on this web space:
www.sew-what.els.co.uk which is also down, and I cannot access the web space C...
Server Not Found?
- (4)
I bought a hosting account with computing host a couple of days ago and uploaded my completed clan
website. It was working fine until now, the site won't load in neither firefox nor internet
explorer. cpanel also won't load. i was wondering if there was a problem with my account or if
the servers are down or something....
Server Time Is Off
- (3)
I know i've been bugging you guys a lot lately (sorry) but I have a really small question this
time (i swear)... the server time on my website is a few hours ahead. How do I change it to pacific
time?...
Mail Server Is Down
- I cant recive or send mails (2)
Hi , for 3 day all mail account in my account is not working (sending, Recive) i use webmail system
, and in 3 day i lost to many important emails i check server status and i see mailscanner = failed
my domain name is fascript.com , please fix this big problem thanks ...
Hosting A Game Server From Computing Host
- Is it allowed? (1)
My website is hosted with computinghost.com, and it came with shell access, i was wondering if i
could run a unreal tournament server from it...
Transfering Files To Other Server
- (8)
hi first. This is my complain: I used to be hosted by Trap17 long ago. Then, due to the traffic my
site started generating, decided to take one of your paid packages (3S), which I hadn't had any
kind of problem (or maybe it seem like). But then I didn't realize how much downtime you guys
have in your Gamma servers until lots of people started complaining about it, then I've had to
see it myself. I have a friend with similar plan, but you hosted her site in your Theta Server, and
her site is quite OK always. Its never been down since she got the package, and...
How Do I Upload A Mssql Database To My Server?
- (3)
I have a windows based account and would like to know how to upload my database to the server.
Where do I find the path where the databases reside? Also, is there any documentation that is
available? Thanks....
Computinghost Server Seems Slow
- (19)
My sites been going slow all day. www.phpbb1.net...
Subject: [statscheck] Stats/server Overload On Gamma.xisto.com
- Not a Complaint... Just Curious (1)
I just finally checked my domain e-mail and found this e-mail : QUOTE A message that you sent
contained no recipient addresses, and therefore no delivery could be attempted. ------ This is a
copy of your message, including all the headers. ------ From: root From: root@gamma.xisto.com
Subject: Stats/Server Overload on gamma.xisto.com Message-Id: Date: Wed, 12 Apr 2006 16:13:25
+0000 IMPORTANT: Do not ignore this email. This is cPanel stats runner on gamma.xisto.com!
While processing the log files for user >, the cpu has been maxed out for more than ...
Remote Acces To Mysql In Computinghost.com Server?
- I need accessing mysql from another server (2)
Hi, A little question, I need to access to my mysql computinghost.com serveur from another server
form some little update. I found the option 'Mysql/Access Hosts' in the cpanel and I put
the other server ip. But wich server name I have to put to access to my computinghost.com/localhost
? I've tried the ip and the adress from my website hosted on computinghost.com, I suppose there
is a spécific adress. I tried too to find this adress myself in the forum, but I failed.
Thank's for you help. Js....
Server Differences?
- Between Gamma & Delta (3)
I uploaded a script as a free member and saw it worked so I decided to buy hosting. Then I uploaded
the script as a paid member and it didn't work. The main thing I noticed is that the free member
server's name is gamma and the paid one is delta. I am mostly worried because if I can't
get my script to work, I can't keep staying hosted here. Is there any way that I can be a paid
member and have my script still hosted on the gamma server? Delta's driving me nuts.
/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" /> ...
Http Down On Delta Server
- (3)
My site is down, and the http is on the delta server, just letting y'all know....
Looking for ttf, fonts, server
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for ttf, fonts, server
*MORE FROM TRAP17.COM*
|
advertisement
|
|