have you configured the router correctly?
If the router has been configured by someone else they might have enabled additional security features, such as your MAC address has to be added to the allowed to connect database, more ip addresses enabled if it limited to 4 - 5 devices. etc etc..
Or as you might already have thought of could be a faulty iPhone.