Results 1 to 10 of 17
Threaded View
-
10th Dec 2009, 11:03 PM #1OPMemberWebsite's:
4rc.org pivx.net mambaturk.comRapidshare link check
Hiya mates,
i have new project website and i need some snippets
http://rapidlinks.ru /link/?lnk=146446like in example checking rapidshare links showing status (dead or alive) and their size, if dead delete from database
how can i do this with curl or rapidshare api?
Any idea?
PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<center>
<form method="post" action="">
Rapidshare Links:<br />
<textarea name="url" rows="10" cols="50"></textarea><br /><br /><input type="submit" name="submit" value="Check Links"> | <input type="reset" value="Clear">
</form>
<?php
if(isset($_REQUEST['submit'])){
echo "<br />-------------------------------------------------<br />";
$url = @$_POST['url'];
if ($url == ""){
echo "Invalid URL(s)";
} else {
$url = explode(" ", $url);
$url = implode("\n", $url);
$url = explode("\n", $url);
$url = array_unique($url);
foreach ($url as $urls){
$rsurls = @file_get_contents($urls);
if (preg_match("/FILE DOWNLOAD/", $rsurls)){
$url = trim($url); #before $url = explode(" ", $url);
#then i add option to view the size of the files :
$pos1 = strpos($rsurls,">| ");
$pos2 = strpos($rsurls," KB");
echo substr($rsurls, $pos1+3, $pos2-$pos1)." ";
# all lines right after if (preg_match("/FILE DOWNLOAD/", $rsurls)){
echo '<a href="'.$urls.'"><font color="green">'.$urls.'</font></a> - Valid<br />';
} else {
echo '<a href="'.$urls.'"><font color="red">'.$urls.'</font></a> - Dead<br />';
}
}
echo "<br /><font size=\"2\">".sizeof($url)." Links Checked</font>";
}
}
?>
<br /><br />
</center>
</body>
</html>masterofdeath Reviewed by masterofdeath on . Rapidshare link check Hiya mates, i have new project website and i need some snippets http://rapidlinks.ru /link/?lnk=146446like in example checking rapidshare links showing status (dead or alive) and their size, if dead delete from database how can i do this with curl or rapidshare api? Any idea? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> Rating: 5
- DisRespected: Dlow (Still he owe me 30$)
- My Websites are again up!!!!Moved own server
- DisRespected: Dlow (Still he owe me 30$)
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
do you have bot auto check link
By bills4 in forum Webmaster ResourcesReplies: 1Last Post: 3rd Feb 2012, 06:58 PM -
check link live or die ?
By ^.^! in forum WordpressReplies: 0Last Post: 18th Nov 2011, 06:59 PM -
Link check mod for vbulletin 4.0.7 ?
By Webestrian in forum vBulletinReplies: 3Last Post: 19th Oct 2010, 02:40 PM -
Check your resource usage on Rapidshare API - For link checkers
By Gavo in forum Webmaster ResourcesReplies: 3Last Post: 29th Jun 2010, 11:08 PM -
Link check before post
By narutoroot in forum vBulletinReplies: 0Last Post: 4th Jul 2009, 03:52 AM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...