Quote:
You would be suprised what people do to try and get past duplicate checking ;)If you look to grab the main domain name from the input then you needn't worry about all the obscurities that they may try fool the script with.
Quote:
Not really. if $chk_dup1 then $chk_dup = $chk_dup1 or do nothing
if $chk_dup2 then $chk_dup = $chk_dup2 or do nothing
if $chk_dup3 then $chk_dup = $chk_dup3 or do nothing
I know how you are thinking but you aren't really doing nothing, you are using '' in a void context....it is just floating in your script. If you turn on warnings you'll get an error about a constant being used in void context.