Location: PHPKode > scripts > Reciprocal Linkback Checking Function > reciprocal-linkback-checking-function/example.php
<title>PHP Function for Reciprocal Linkback Checking Example</title>

<style type="text/css">
.text					{ font-family : Verdana, Arial, Helvetica, sans-serif; font-size : 13px; color : #000000; }
a.text			{ color: #0000aa; text-decoration: none; }
a.text:hover		{ color: #0000aa; text-decoration: underline; }

<body bgcolor="#ffffff">
<span class="text">Back to '<a href="http://www.OpenCrypt.com/blog.php?a=28" class="text">PHP Function for Reciprocal Linkback Checking</a>'<br>


require "reciprocal_linkback.php";

$reciprocal_linkback = reciprocal_linkback("http://ionix.ltd.uk/","http://www.opencrypt.com",1);

if ("$reciprocal_linkback"=="1") {

	print "Link found";

} elseif ("$reciprocal_linkback"=="2") {

	print "Unable to read URL";

} else {

	print "Link not found";



Return current item: Reciprocal Linkback Checking Function