Just a little something I lost interest in, therefore, I will not be updating this script nor will I be adding the features I planned to.

Code: 
<?php
set_time_limit(0); // Cheat PHP's set_time_limit configuration

define('MAX_LINKS', 50); // Maximum links allowed to be checked at once.

$sites = array // Supported sites
    (
        'rapidshare.com' => 'FILE DOWNLOAD',
        'rapidshare.de' => 'Choose download-type',
        'megaupload.com' => 'Filename:',
        'filefactory.com' => 'file uploaded',
        'netload.in' => 'dl_first_tacho.gif',    
        'depositfiles.com' => 'File name:',
        'sendspace.com' => '<b>Size:',
        'uploading.com' => 'ico_download_file',
        'ul.to' => '"inputActive"',
        'ziddu.com' => 'File Size',
        'uploaded.to' => '"inputActive"',
        'easy-share.com' => 'dwait',
        'hotfile.com' => '<td>Downloading ',
        'mediafire.com' => 'Processing download request...',
        'storage.to' => 'Downloading:',
        'uploadbox.com' => 'Free Download',
        '2shared.com' => 'File size',
        'zshare.net' => 'File Name'
    );
?>
<!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">
<head>
<title>CyberJ37's Link Checker</title>
<style type="text/css">
<!--
body {
    font:9pt verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;
}
.green {
    color:green;
}
.red {
    color: red;
}
-->
</style>
</head>
<body>
<b> Supported File Hosts:</b><br />
<?php // List supported sites
$es = 0;
echo '<table cellspacing="2" cellpadding="2"><tr>';
foreach ($sites as $site => $match){
    echo '<td>'.$site.'</td>';
    ++$es;
    echo ($es%5) ? '' : '</tr><tr>';
}
echo '</tr></table>';
?>
<br />
<br />
<form action="" method="post">
    <b>Links To Check:</b><br />
    <textarea rows="8" cols="52" name="links" class="textarea"></textarea><br />
    <br />
    <input type="submit" value="Check Links" name="checklinks" class="button" /><input type="reset" value="Clear" class="button">
</form>
<br />
<br />

<?php
// Try not to edit anything below this ... seriously.
function getPage($url){
    if(function_exists('curl_init')) {
        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $page = curl_exec($ch);
        curl_close ($ch);
        return $page;
    }
    return file_get_contents($url);
}

if($_POST){

    $links = explode("\n", implode("\n", explode(" ", $_POST['links'])));
    $checked = 0;
    $alive = 0;

    foreach($links as $link){
       $link = trim($link); 
       
        foreach($sites as $site => $match){
            if(stristr($link,$site)){
                $page = getPage($link);
                $link = htmlentities($link);
                if(stristr($page,$match)) {
                    echo '<span class="green">Alive: <a href="'.$link.'"><b>'.$link.'</b></a></span><br />'; 
                    $alive++;
                } else echo '<span class="red">Dead: <a href="'.$link.'"><b>'.$link.'</b></a></span><br />';            
                
                $checked++;
            }
                
            if($checked >= MAX_LINKS){
                echo '<br />Maximum No ('.MAX_LINKS.') of links has been reached.</body></html>';
                break 2;
            }
        }
    }
    echo ($checked == 0) ? '<span class="red">No supported links could be found.</span><br />' : '<br />'.$checked.' link'.(($checked == 1) ? '' : 's').' checked. ('.round($alive/$checked*100).'% alive)<br />';
}
?>
<br /><br />
Coded by CyberJ37 - <a href="http://www.warezlobby.org/">WarezLobby.org</a>
</body></html>
CyberJ37 Reviewed by CyberJ37 on . [PHP] CyberJ37's Link Checker Just a little something I lost interest in, therefore, I will not be updating this script nor will I be adding the features I planned to. <?php set_time_limit(0); // Cheat PHP's set_time_limit configuration define('MAX_LINKS', 50); // Maximum links allowed to be checked at once. $sites = array // Supported sites ( 'rapidshare.com' => 'FILE DOWNLOAD', Rating: 5