25-year-old Fogler has been training with the Alex for the last few weeks and playing in the 5-0 win over Nantwich Town.
The move for the Polish shot stopper will see him act as cover for Rhys Taylor who is on loan from Chelsea and is filling in for Steve Phillips who is currently out injured after having surgery.
Fogler had trials with Bristol City and Wrexham last season and even turned a move down to Legia Warsaw to try and ply his trade in the Englsh League due to his girlfriend studying at univeresity in England.