A Free Space Optical(FSO) cooperative communications technology based on photon counting is proposed. The network-coding relay cooperative mechanism and photon counting technology are used to achieve the enhancement of anti-fading ability under the precondition of good system performance. And Interleaver Division Multiple Access(IDMA) is adopted as multiple access method to reduce the complexity of system. The simulation results show that this system can provide good transmission performance and the relay cooperative mechanism can bring considerable spatial diversity gain in the fading channel.