PHP Code: 
function searchnget($filepath$stringtosearch) {
// Author : Soft2050 - Search for a string in a text file and then return the line
$lines file($filepath);
foreach(
$lines as $line) {
    if (
strpos($line$stringtosearch) !== false) {
    return 
$line;
    break;
    }
}
return 
"";

Usage:
PHP Code: 
echo searchnget('mytest.txt''soft'); 
mytest.txt contents:
Code: 
what
great
i am what
soft 2050
this is
now i like
what the shit
good an
You can add all links to a text file and then search for that
soft2050 Reviewed by soft2050 on . [req] how to get link on filesonic ? hello dears coders! sometimes i want get link to download file and want to do this fast and easy. filesonic api does not provide access to filelist, exist any solution ? thanks. Rating: 5