Programming logic using 2 ultrasonic sensor hc-sr04

Could you list your current code that works?
I just purchased one of these sensors on ebay and need some help figuring out the code for it. I thought this module would be the same as the Ping))). I was wrong, but hope to get it to work just as well.

Thank you.