Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] Duplicate_Check

Quote Reply
Re: [Andy] Duplicate_Check In reply to
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.
Subject Author Views Date
Thread Duplicate_Check mick31 7269 Oct 1, 2003, 2:27 PM
Thread Re: [mick31] Duplicate_Check
Andy 7263 Oct 2, 2003, 2:04 AM
Thread Re: [Andy] Duplicate_Check
mick31 7226 Oct 2, 2003, 3:06 AM
Thread Re: [mick31] Duplicate_Check
Andy 7162 Oct 2, 2003, 3:07 AM
Thread Re: [Andy] Duplicate_Check
aus_dave 7173 Oct 4, 2003, 5:51 AM
Post Re: [aus_dave] Duplicate_Check
Andy 7155 Oct 6, 2003, 12:55 AM
Thread Re: [Andy] Duplicate_Check
mick31 7102 Dec 16, 2003, 9:24 AM
Thread Re: [mick31] Duplicate_Check
Andy 7139 Dec 16, 2003, 9:28 AM
Thread Re: [Andy] Duplicate_Check
mick31 7119 Dec 16, 2003, 9:37 AM
Thread Re: [mick31] Duplicate_Check
Andy 7104 Dec 16, 2003, 9:50 AM
Thread Re: [Andy] Duplicate_Check
Coombes.. 7100 Dec 16, 2003, 10:08 AM
Thread Re: [Coombes..] Duplicate_Check
Andy 7147 Dec 16, 2003, 10:16 AM
Post Re: [Andy] Duplicate_Check
Coombes.. 7069 Dec 16, 2003, 10:25 AM
Post Re: [Andy] Duplicate_Check
mick31 7089 Dec 16, 2003, 11:25 AM
Thread Re: [Andy] Duplicate_Check
mick31 7099 Dec 16, 2003, 12:33 PM
Thread Re: [mick31] Duplicate_Check
Andy 7078 Dec 17, 2003, 1:29 AM
Thread Re: [Andy] Duplicate_Check
mick31 7076 Dec 17, 2003, 3:17 AM
Thread Re: [mick31] Duplicate_Check
Andy 7097 Dec 17, 2003, 3:23 AM
Thread Re: [Andy] Duplicate_Check
mick31 7044 Dec 17, 2003, 3:30 AM
Post Re: [mick31] Duplicate_Check
Andy 7030 Dec 17, 2003, 3:34 AM