evilworm
-
Content Count
4 -
Joined
-
Last visited
Posts posted by evilworm
-
-
you will need gd with freetype and xpm.try some code like this:<?$img_number = imagecreate(350,22);$white = imagecolorallocate($img_number,255,255,255); $black = imagecolorallocate($img_number,0,0,0); $grey_shade = imagecolorallocate($img_number,204,204,204); $dark = imagecolorallocate($img_number,225,220,125); Imagettftext($img_number, 18,0,0,17,$dark,'/path/to/somefont.ttf',"image create text");header("Content-type: image/jpeg"); imagejpeg($img_number);?>
-
Hey, i use firefox but designing pages for one browser type, and then adjusting them for others doesn't seem like a professional approach to me. Basicly i found that pages validated with validator.w3.org have a 90% chance of showing up correctly on all browsers. I think it's better if you start with a generic desing, and after some time, take a look at the visitor stats of your site and see what are the most used browsers, and optimize the site for them. You can also try a scripting approach(i.e. php script that returns output according to user agent, but that's time consuming and few will appreciate it)
-
Hi, can i have a link to a phpinfo page? i want to know if you have gd with freetype and xpm, and several other extensions.
Phpinfo()
in Web Hosting Support
Posted · Report reply
Yes, it's great, exactly what i need, and it's free also, how do you get your money??.