PHP Classes

Form

Recommend this page to a friend!

      Text To Image  >  All threads  >  Form  >  (Un) Subscribe thread alerts  
Subject:Form
Summary:Form
Messages:2
Author:ryan b
Date:2006-08-06 08:47:36
Update:2006-08-06 14:52:36
 

  1. Form   Reply   Report abuse  
Picture of ryan b ryan b - 2006-08-06 08:47:36
Awesome script -- how would I create a form where the user can type a string in a form box and also have the ability to choose font/color??

Thanks

  2. Re: Form   Reply   Report abuse  
Picture of Er. Rochak Chauhan Er. Rochak Chauhan - 2006-08-06 14:52:36 - In reply to message 1 from ryan b
Thanks for the appreciation...
Well PHP GD library has some limitation, in simple words... using the inbuilt methods you can change the colors (whatever user enters) but you cannot change fonts.

But there is a work around this problem... You have to have images of all characters in separate folders. So if a user wants "ABC" written in verdana, then you can replace each character by the corresponding images from the verdana folder.

If you need more clarity, feel free to contact me.

Rochak.