Thanks for soft2050 for this code

<?php // Download Filesonic Link - Start (Coded By Soft2050)

$username='';
$password='';
$link='http://www.filesonic.com/file/2741198321/D1R3CT0Rs_kT_C1ty_C0urty4rd.rar';

function dlfsolink($link, $username, $password) {
$getidoflink = str_replace('/', '-', get_match('|/file/(([a-z][0-9]+/)?[0-9]+)(/.*)?$|', $link, 1));
$getresult = file_get_contents("http://api.filesonic.com/link?method=getDownloadLink&u=$username&p=$passwor d&ids=$getidoflink&format=xml");
preg_match('/\<url\>(.*?)\<\/url\>/i', $getresult, $matches);
$link = trim($matches[0]);
return $link;
}
// Download Filesonic Link - Stop

echo dlfsolink($link,$username, $password);

?>

now it give me error

Fatal error: Call to undefined function get_match() in /home/****/public_html/ajax/ddl.php on line 5

please can any expert tell me what is the problem ?
hihotfile Reviewed by hihotfile on . why it give me error ? filesonic API download Thanks for soft2050 for this code <?php // Download Filesonic Link - Start (Coded By Soft2050) $username=''; $password=''; $link='http://www.filesonic.com/file/2741198321/D1R3CT0Rs_kT_C1ty_C0urty4rd.rar'; function dlfsolink($link, $username, $password) { $getidoflink = str_replace('/', '-', get_match('|/file/((+/)?+)(/.*)?$|', $link, 1)); Rating: 5