Sim cards


hi there everyone
Just wondering if anyone can help me out I am looking At getting a sim card when i get to London I will be there for about 6 weeks and would want it for local and international texts and wifi or data. All suggestions would be greatly appreciated during this 6 weeks I will also be traveling to parts of Europe so would like it to be useful there as well. I have an iPhone 4.