The issue with your code lies in the condition where you check if the secret is correct. You have two conditions for the same variable $_GET['secret']
which is checking if the secret is not equal to "240610708" and at the same time checking if the MD5 hash of the secret is equal to "0e462097431906509