Link popularity (.asp)
The script bellow is a good way to check the popularity of your site or to find links to your site's competitors.
You only need to include the form bellow in your page:
findlinks.html
<form action="findlink.asp" method=post>
<table border=0 cellpadding=5><tr>
Find links to your site or competitor<BR>
<td align=center bgcolor="#4444FF">
http://<input size=35 name=url><BR>
<select name="se">
<option value="1">Altavista
<option value="2">Google
'</select>
<input type=submit value="Find links">
</td></tr> </table>
</form>
And you will need to create a file with the content in the table bellow named findlinks.asp.
findlinks.asp
<% 
AA=request.form("url") 
AA=lcase(AA) 
AA=server.urlencode (AA) 
if instr(AA,"www.")=1 then 
lenAA=len(AA)-4 
BB=right(AA,lenAA) 
else 
BB=AA 
end if 

if request.form ("se")="1" then 
response.redirect("http://altavista.digital.com/cgi-bin/query?pg=q&kl=XX&q=link%3A" & AA & "+-+host%3A" & BB & "&search=Search") 
end if 

if request.form ("se")="2" then 
response.redirect("http://www.google.com/search?as_lq=" & AA & "&btnG=Search")
end if

%> 

 

AspTutorial.info