PHP duplicate checker.