Or gate

Hey guys i am currently working on a project and i need to use a lot of or gates. So i was wondering can i use 2 diodes on my input and connect the outputs together. Will this configration work the same way? Thanks.

Yes you can. But you need a pull down resistor on the pin as well.