Can a person playing call of duty modern warfare 2 on a PC play against someone on a PS3?

Yeah, you should be able to.