[PHP] My UBX project - HTML vs BBC

Status
Not open for further replies.

alaa_ecv_tc

In Runtime
Messages
147
Location
Syria
Hi ,
I'm still at the first steps of the long way learning PHP and that by building a forum .

Till now this forum has :
Multi language support (3 langs - rtl & ltr)
Multi style support (4 styles)
No easy CPanel .
categories , forums , threads & posts are currently displayed and OK .
There is a firewall to handle the inputs (cookies , post , get .. etc)
posting new thread and new post is working BUT ....

BUT must be very big :

BUT ..

I know a very little about javascript so I'm using CKEditor instead of building my own editor for members to use ..
CKEditor is good in HTML posting ... But stupid in BBC ..
So ..
I'm thinking to use HTML posting instead of BBC ...
BUT ..<< there is too many (but)s :sweat:
I'm confused ... ALOT ..

Expected users will do a mass mess because of Copy-Past operations from MS-Word ...
The CKEditor is doing fine with them .. only in HTML .. in BBCode it does not support pasting from word and that is really baaaaaaaaaaaaaaaad .

The firewall deletes any script, meta , html , body , & comments tags from the expected message in $POST.
The firewall deletes any unexpected $POST['wired_var'] ..

Later post editing if it is HTML is easy in CKEditor .

Do you suggest to use another editor ?
Is there a way to process the HTML entered for post/thread to make it safe ?

Thanks in advance ..
 
Status
Not open for further replies.
Back
Top Bottom