Top

Rapidshare Link Checker


PHP Code
+ 4 likes
Please Register to submit score.
Bookmark and Share
Average Score  5.0 (of 2 scores)
Date Added  May 04, 2009
Last Updated  May 04, 2009
Tags  checker  link  rapidshare 

Introduction

Rapidshare link checker
Example: http://kuzmanov.ws.mk/linkchecker.php

Grab the 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)){
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 /><font size="2"><a href="http://www.kuzmanov.ws.mk" target="_blank">Kuzmanov's</a> RS Link Checker v1.0</font>
</center>
</body>
</html>

Comments

  (7)  RSS
killwithme
Comments: 20
 
PHP Snippet:  Rapidshare Link Checker
Posted on May 4, 2009 2:51 pm
/me likes it
hy71194
Comments: 16
 
PHP Snippet:  Rapidshare Link Checker
Posted on May 4, 2009 3:06 pm
Very nice. It would be a cool addon to make it into a full-leech script? Like you add your URLS, it downloads the files, then mail()'s you the urls on the server once it is done, and also mails a delete URL? Would be amazing.

Sort of like RapidLeech, only more simple.
PATX
Comments: 389
 
PHP Snippet:  Rapidshare Link Checker
Posted on Jun 13, 2009 7:27 pm
used http://patx44.appspot.com and it said daed... wtf?
A^1^T^E^A^M
Comments: 27
 
PHP Snippet:  Rapidshare Link Checker
Posted on Jun 14, 2009 12:02 pm
Man, it's RapidShare.com link checker... :) Not to check your site =)
PATX
Comments: 389
 
PHP Snippet:  Rapidshare Link Checker
Posted on Jun 14, 2009 4:31 pm
ooooo my bad.
P1TA
Comments: 1
 
PHP Snippet:  Rapidshare Link Checker
Posted on Jul 24, 2009 4:29 am
I made some improvement to this code :
first I add the trim function to get ride of line feed or spaces at the end of the links
:
$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)){
Xaric
Comments: 14
 
PHP Snippet:  Rapidshare Link Checker
Posted on Jul 25, 2009 6:30 pm
Make this for Mirc :D

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom