View Full Version : Help with a code!!!!


elenifaerie
05-26-2003, 07:50 PM
Ok..... You know how on BBS's or tagboards you can type :) or :( or :P and it turns into a smilie??? ( I think it just did!!!!) How can I do that on a website??? Do you need to have CGI?

amicus
05-26-2003, 08:01 PM
you'll need to parse the user input in order to do that. yes you'll need cgi or php.

basically you need an application to read the user inputs and look for the ':' and ')' then replace it with the 'img' tag.

lefty
05-26-2003, 08:24 PM
see if this helps you:
http://www.quasigeek.net/~rewritable/smilies.html