If you are using any kind of user input (eg, blogs, comment boxes etc) which gets added to the page always sanitize the input so no one can enter any nasty code.
General rules to avoid getting your website hacked
Miscellaneous Forums/General Discussion/General rules to avoid getting your website hackedThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.