|
What you want to use is a sort of BBCode function to eliminate any funny business and attacks. A sample BBCode function for using an image would be like:
[ img ]http://www.domain.com/image.gif [ /img ]
Using reg-ex, you could replace the above sample to the proper html img tag. As far as the textarea size, using css width and height to define your size. If you want the same functionality as WT, search for wysiwyg javascript textarea.
__________________
<mgraphic /> - I don't have a solution but I admire the problem.
Last edited by mgraphic; 07-09-2006 at 06:17 PM..
|