A simple regex of #https?://(www\.)?adf\.ly/\d+/(.*)#i
should do the trick. This also supports https://adf.ly` (in case it exists) and http://www.adf.ly.
<?php
$url = "http://"."adf.ly/2323070/http://www.fileflyer.com/view/O33TOYUAFMIFF";
preg_match("#https?://(www\.)?adf\.ly/\d+/(.*)#i", $url, $matches);
var_dump($matches[2]);
?>
outputs
string(43) "http://www.fileflyer.com/view/O33TOYUAFMIFF"