One thing to watch out for is the example posted on the last page is for a light dependent resistor, a standard LDR will not react to IR as its wavelength is too long, this means the only thing it will do is react to visable light,
You can in theory get LDR's that respond to IR (think they are...