Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19

Thread: Checking for duplicate URL in add form

  1. #16
    Bruceper is offline Active Member
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Would this work? Probably not. But if I remember correctly there was some discussion elsewhere on the forum about Deluxe rejecting duplicates. Hopefully you can find it as it may help you out.

  2. #17
    CEC
    CEC is offline Active Member
    Join Date
    Apr 2006
    Posts
    446

    Default

    sorry, if there is i cannot find. hope you don't mind, but i've added as a suggested feature for deluxe under Project Tools.

  3. #18
    Jelenik is offline Registered User
    Join Date
    Jun 2009
    Posts
    13

    Default

    Code:
    	$urladress = strtolower ($url);
    	$countofduplicated = (int) mysql_num_rows(mysql_query('select * from idx_link where url LIKE \''.$urladress.'\''));
    	$countofduplicated2 = (int) mysql_num_rows(mysql_query('select * from idx_link_temp where url LIKE \''.$urladress.'\''));
    
    	
    	if ($countofduplicated > 0){
    	$error_msg = ("Im sorry we already have your URL listed.");
    	}
    	elseif ($countofduplicated2 > 0){
    	$error_msg = ("Link is in waiting queue already.");
    	}
    Try this - i made some litle modifications to source code on the first page, and now it works (indexu 1.3.3)

  4. #19
    linksor.com is offline Active Member
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    341

    Default

    YEAH it really works with 5.4.x !!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 9
    Last Post: 01-12-2008, 08:59 AM
  2. Checking reciprocal link
    By enrico in forum v5.x
    Replies: 1
    Last Post: 09-21-2006, 07:02 AM
  3. Checking linkbacks Mod
    By esm in forum v3.2
    Replies: 26
    Last Post: 09-21-2004, 09:18 PM
  4. Mod for Checking ALL linkbacks
    By esm in forum v3.2
    Replies: 5
    Last Post: 12-21-2003, 01:16 PM
  5. weblogs.com and blo.gs ping checking
    By rbl in forum Pre-Sales Questions
    Replies: 10
    Last Post: 07-17-2003, 09:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •