tiny mistake on picture fixed
The reason I did not get the output from the photo-transistor directly is because the output voltage and current are too low to register as high logic and could not even light a red led. If the current coming into the base of the 2n2222a is that low I hardly doubt it would wreck the transistor.