OK, here is the sequence of events...which makes me wonder if it is the code above afterall.
I go into my profile and enter :burn: into my sig. I post a test message and it works. I look in my .cgi file via FTP and see that it is stored in html format. I can post at will and the smilie shows up....UNTIL
I go into my profile and change my interest (or anything but the smilie in the sig). I look at the sig box and see the instead of smilie code there is the html. After submitting changes (there needn't be any really), I post a test and the smilie is replaced with the UBB [img] code with the path to the image.
Now I look in my .cgi file and where the smilie code once was stored in html, it is now in UBB.
THAT may be the problem!! The smilie sub-routine is made for html, not UBB code...and somehow it is getting changed into the UBB code....the wheels are turning!!
