Rapidshare Link Checker

By A^1^T^E^A^M on May 04, 2009

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

<!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

Sign in to comment.
Xaric   -  Jul 25, 2009

Make this for Mirc :D

 Respond  
P1TA   -  Jul 24, 2009

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)){

 Respond  
PATX   -  Jun 14, 2009

ooooo my bad.

 Respond  
A^1^T^E^A^M   -  Jun 14, 2009

Man, it's RapidShare.com link checker... :) Not to check your site =)

 Respond  
PATX   -  Jun 13, 2009

used http://patx44.appspot.com and it said daed... wtf?

 Respond  
hy71194   -  May 04, 2009

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.

 Respond  
killwithme   -  May 04, 2009

/me likes it

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.