D
dorayme
Why do I sense a trap here
Go on, be a sport and tell me. Why?
Why do I sense a trap here
cwdjrxyz said:The php used is gd which is an extension of php and sometimes it has
not been installed on a server. Fortunately it is easy to find out if
it is installed.
Go to my page athttp://www.cwdjr.net/php/test/serverinfo.phpto get a
dump of what the php does and does not do. Go way down the page until
you find a table labeled "gd" Notice it and everything in it is listed
as enabled, including png. You now need to write one of the most
simple web pages you likely have ever written. Go to my page athttp://www..cwdjr.net/php/test/serverinfo.phpsand copy the php code.
That is the entire contents of your web page. Next write such a page
and use it to find out if your server supports gd and if it is
enabled. My server supports a package of free fonts, but it would take
a bit of research to see if Times is included. I likely would just do
a Google search for fonts on the desired one and install the .ttf or
other file type for it to save time.
I have an example for Times New Roman at http://www.cwdjr.net/php/TimesNewRoman.php
.. My computer with Vista has many fonts stored in a fonts file in the
Windows file. You can double click to observe one. I selected the font
for Times New Roman and copied it to an easy to find file. I then used
an ftp agent to copy it to the php directory on the site. the name of
it is times.ttf. You can find thousands of fonts on a Google search,
some free and some quite expensive.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.