+ Reply to Thread
Results 1 to 5 of 5

 

Thread: Link Exchange Script

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Swansea
    Posts
    382
    Thanks
    0
    Thanked 3 Times in 2 Posts


    Hi I'm after a good link exchange script, wherby I can check if a link has been reciprocated.

    Im just wondering what scripts people use, that are reliable and work well.

    Cheers!

  2. #2
    Tom
    Registered User

    Status
    Offline
    Join Date
    May 2005
    Posts
    238
    Thanks
    0
    Thanked 4 Times in 4 Posts
    I don't know of any pre-made scripts, but you could always just write something yourself, its pretty easy. Just store the links in a database. Ask the user to enter the location of the page they have added your link on, and scrape that page for your link. If you find it, then show their link, otherwise don't.
    Websites for Sale - Browse sites for sale and place an ad for free.
    Social Shopping - Join our affiliate program

  3. #3
    Registered User

    Status
    Offline
    Join Date
    Jun 2005
    Location
    Scotland
    Posts
    159
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try http://www.hotscripts.com I'm sure they have a load - some free, some for a nominal fee.
    Dave

  4. #4
    Art
    Affiliate / Merchant

    Status
    Offline
    Join Date
    Jul 2005
    Location
    Costa Del Sol
    Posts
    480
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mobillica
    Hi I'm after a good link exchange script, wherby I can check if a link has been reciprocated.
    Hi,

    If you look for a simple script try this one:
    Site:
    http://www.phpjunkyard.com/php-link-manager.php ,

    Forum:
    http://developers.phpjunkyard.com/vi...eff5dabd82ad42 .

    I use it for some of our sites and it works fine.

  5. #5
    Registered User

    Status
    Offline
    Join Date
    Jul 2005
    Location
    North Devon
    Posts
    899
    Thanks
    13
    Thanked 21 Times in 21 Posts
    Link checker

    DoCheck.asp
    Code:
    <html>
    
    <head>
    </head>
    
    <body bgcolor="#FFFFFF" leftmargin="10" topmargin="0" marginwidth="10" marginheight="0"onmouseover="window.status='';return true;">
    <center> <P>&nbsp;</P><P><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B>Check 
    If A URL actualy exists....... <BR>and also check for a specific string of text 
    in a Remote website.</B></FONT></P><form method="POST" action="CheckLink.asp" name="CheckURL"> 
    <table BORDER="0" CELLSPACING="0" CELLPADDING="4"> <tr> <td BGCOLOR="#FF0000"> 
    <div align="right"><FONT COLOR="#FFFFFF" SIZE="1" FACE="Verdana, Arial, Helvetica, sans-serif"><b>URL 
    to check:</b></FONT></div></td><td> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b> 
    <input type="text" name="url" value="http://" title="REMEMBER we check ALL sites !!!!!" size="80"> 
    </b></font></td></tr> <tr> <td BGCOLOR="#FF0000"> <div align="right"><FONT COLOR="#FFFFFF" SIZE="1" FACE="Verdana, Arial, Helvetica, sans-serif"><b>Text 
    to search for:</b></FONT></div></td><td> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><b> 
    <input type="text" name="des"  title="Please enter a DECENT Text!" size="80"> 
    </b></font></td></tr> <tr> <td colspan=2> <div align="center"><FONT SIZE="1" FACE="Verdana, Arial, Helvetica, sans-serif" COLOR="#FFFFFF"> 
    <input type="submit" value="Add Your Site" name="B1"> <input type="reset" value="Oops" name="B2"> 
    </FONT></div></td></tr> </table></form></center><p align="center">&nbsp;</p>
    </body>
    
    </html>

    CheckLink.asp
    Code:
    <html>
    
    <head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <% 
    
    Dim SCheckUrl, Back
    
    
    URL = Request.Form("url")
    ValidateText = Request.Form("des")
    
            SCheckUrl = VerifyUrl( sUrl ) 
    
    
    Function VerifyUrl( s1 )
    
        set xmlhttp = server.CreateObject("MSXML2.ServerXMLHTTP")  
        on error resume next 
        xmlhttp.open "GET", URL, false 
        xmlhttp.send ""  
        if err.number <> 0 then 
           VerifyUrl = "The website you submited could NOT BE FOUND.<br> Check your spelling of "& URL & " <a href=" & URL & " target=blank ><b><i>here</i></b></a>"
           Exit Function	 
        else 
            if instr(xmlhttp.responseText,ValidateText)>0 then 
                Exit Function
            else 
                VerifyUrl = "There is <b>NO</b> No Text containing: <b>"& ValidateText &"  </b><br>found on <a href=" & URL & " target=blank >"& URL & "</a>" 
                Exit Function
            end if 
        end if 
        set xmlhttp = nothing 
        End Function
    
    
    
    %> <BR><BR><BR><TABLE BORDER="1" CELLSPACING="0" CELLPADDING="4" BORDERCOLOR="#FFFFFF" ALIGN="CENTER"> 
    <TR><TD BGCOLOR="#FF0000"><DIV ALIGN="RIGHT"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" COLOR="#FFFFFF"><% If  SCheckUrl <> "" Then 
                    Back = 1 %><B>check--></B></FONT></DIV></TD><TD><DIV ALIGN="LEFT"><FONT FACE="Verdana, Arial, Helvetica, sans-serif"><%=SCheckUrl%><%End If%></FONT></DIV></TD></TR></TABLE><BR><%    If Back = 1 Then %><DIV ALIGN="CENTER"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><FONT SIZE="5"><B>There 
    is an <FONT COLOR="#FF0000" FACE="Times New Roman, Times, serif">ERROR</FONT> 
    !!!</B></FONT></font></DIV><p align="CENTER"><font size="1"><a href=javascript:history.go(-1)> 
    <FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B><FONT COLOR="#FF0000"><<-- 
    back</FONT></B></FONT></a> </font> <FONT COLOR="#FF0000"><B><%End If 
    
     If SCheckUrl="" Then
    	'Do something here %> </B></FONT><p align="CENTER"><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="3">Your 
    text search for</FONT><FONT COLOR="#FF0000" SIZE="3"><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif"> 
    <%=ValidateText%> </FONT></B></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="3">was 
    found</FONT><FONT COLOR="#FF0000" SIZE="3"><B><FONT FACE="Verdana, Arial, Helvetica, sans-serif"> 
    </FONT></B></FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="3">on</FONT><FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="1"> 
    <A HREF="<%=URL%>" TARGET="_blank"> <%=URL%></A></FONT><p align="CENTER"> <a href=javascript:history.go(-1)> 
    <FONT FACE="Verdana, Arial, Helvetica, sans-serif" SIZE="2"><B><FONT COLOR="#FF0000"><<-- 
    Search again ?</FONT></B></FONT></a> <%end if %> 
    </body>
    
    </html>
    handy dandy google pr link checker if you are plannig a link exchange site could prove useful

    '' not mine but a great little func
    Code:
    Function GetPR(ByRef Address)
    	On Error Resume Next
    
    	SET objSpider = Server.CreateObject("Microsoft.XMLHTTP")
    	strHeaders = "email=can@aspindir.com" _
    			   & "&site=http://www.finarfin.net" _
    			   & "&copyright=Can HANHAN > finarfin" _
    			   & "&A=" & Server.URLEncode(Address)
    
    	objSpider.open "GET", "http://www.aspindir.com/finarfin/hilal/pr.asp?" & strHeaders, False
    	objSpider.send
    	
    	IF Err THEN
    		GetPR = "n/a"
    	ELSE
    		GetPR = objSpider.ResponseText
    	END IF
    End Function
    to use

    <%=GetPR("http://www.future-websites.com")%>

+ Reply to Thread


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. My Link Exchange Site Done.....at last
    By uklejon in forum Media Coverage & PR Strategy
    Replies: 8
    Last Post: 13-06-10, 10:08 PM
  2. How not to ask a high PR site for a link!
    By pericom in forum Affiliate Marketing Lounge
    Replies: 15
    Last Post: 06-01-10, 12:40 PM
  3. PR-6 Site: Looking For Link Exchange Partners.
    By CharmingHealth in forum Media Coverage & PR Strategy
    Replies: 4
    Last Post: 06-05-04, 04:22 PM
  4. Link exchange and how to check if you’re getting a deal!
    By supercod in forum Media Coverage & PR Strategy
    Replies: 12
    Last Post: 25-12-02, 05:35 PM

Bookmarks

Posting Permissions

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

Content Relevant URLs by vBSEO 3.5.0 RC2