Use WiFinder to discover wifi access points in your general vicinity. WiFinder reports back to you open and closed networks. You can then go into your iPhone settings and configure your iPhone, laptop or other device to use that network.
Price: $0.99
App Store Link
Developer Link