

DOM capabilities



A mother of three has discovered she is not the biological parent of two of her naturally conceived sons and is in fact made up of two women, it emerged today. Scientists came to the extraordinary conclusion that the 52-year-old was formed from two non-identical twin girl embryos which fused into a single person in her mother’s womb. Tests carried out on the woman – known as Jane – showed she had two distinct types of DNA in her body. more...

It's often useful to strip HTML characters from an input string; for instance on a user contact form. You don't really want them submitting html which could be craftily constructed to do all sorts of nasty things. Or perhaps you have a guestbook? Hilarious as it might seem to the perpetrator, unwelcome html tags might cause all sortos of problems when view or submitted. Ok, so how best to achieve this? more...