Create dups.php

This is the file I originally wrote, and I want to share it.