Noise reading analog pulses

5v---------3mt cable----------fotoresistor-----------3mt cable--------------10Kresistor-------analog port.

It will never work this way. Do you mean:
5v---------3mt cable----------fotoresistor-----------3mt cable--------------10Kresistor-------ground.
|
|
analog port
?