i used an extension cord to wire a fan up that didnt have a plug. it did have a ground plug so i used an "outside" extension cord. if there is no ground wire then use a standard indoor cord...i dont know about the phone charger cord, i dont think those carry enough power.

hope that helps