Re: WORD to text problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Did you try <textarea> for input. I believe it will eliminate  all text formating. 

On Mon, 4 May 2020, 01:25 Tedd Sperling, <tedd.sperling@xxxxxxxxx> wrote:
Hi gang:

I have a problem where I have lot’s of people going to be putting data into a form. I can handle that OK — it's not a problem scrubbing the data for db storage.

However, some of these “civilians” will use WORD even though the instructions tell them to use a text processor, only enter text, and NOT to use WORD!

Unfortunately, I know it will be a losing battle because I am up against hundreds of people who want to submit data as they think it should look (i.e., bold, italic, different fonts, size, styles, and the list goes on an on).

Also, I am positive some of you have solved this problem before by using preg_match, or regex, or some other method. So, I am asking to just to save myself some time.

Does anyone have any code they can share?

Thanks,

Tedd

_______________
Tedd Sperling
tedd.sperling@xxxxxxxxx

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux