How are you charging the iPhone without the appropriate cable?
Borrow an appropriate USB cable from a friend/relative/co-worker to
connect your iPhone to a computer and use iTunes on that computer to
reset your iPhone.
If this is not what you are asking, provide more details so someone may
offer a solution.