<?php $email1 = "admin@example.com"; $email2 = "ADMIN@example.com"; if (! strcasecmp($email1, $email2)) print "The email addresses are identical!"; ?>