You can find out how to jailbreak your iPhone athttp://blog.iphone-dev.org. It’s not dangerous – if anything goes wrong
(unlikely) you can just restore it as normal in iTunes! As to it being
‘illegal’, it may be against Apple’s terms of service. But then I don’t
really care about those… :-p