Example

Here's an example of how the Applian Affiliate API works.

Enter a URL below to find out how to capture it:

URL:

try http://break.com/index/insane-ski-jumps-by-ordinary-people.html

PHP Code

Here's how we implemented this using PHP. The form variable $url is used here:

<?php

$query = "http://applian.com/recording_solutions/find_solution_api.php?
action=textlink&affiliate_id=199005&url=$url" ;
if (($fp = fopen($query, "r")))  
{      
	$data = fread($fp, 4096) ;     
	fclose ($fp) ;     

	echo ("<p>$data</p>") ; 
}  
?>