Results 1 to 10 of 19
-
19th Nov 2009, 11:01 AM #1OPMemberWebsite's:
warezxtc.com[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.
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
-
19th Nov 2009, 11:28 AM #2
-
19th Nov 2009, 11:35 AM #3OPMemberWebsite's:
warezxtc.com
-
19th Nov 2009, 11:40 AM #4Google Corp.
-
21st Nov 2009, 04:28 PM #5Member
This won't work with megashares btw, because of their landing page.
You need to request the page once, store the cookies in a cookiefile, then set the referrer to the URL requesting then request the page again with the cookies collected. Yeah its a pain I know.
-
21st Nov 2009, 04:30 PM #6OPMemberWebsite's:
warezxtc.com
-
21st Nov 2009, 04:31 PM #7Member
ok fair enough lol
-
21st Nov 2009, 08:16 PM #8Member
yea good script
-
21st Nov 2009, 08:40 PM #9MemberWebsite's:
wrzc.eu watchfreemoviez.euHmm nice thanks for the share.
-
21st Nov 2009, 08:42 PM #10BannedWebsite's:
FusionWarez.info SmokeHost.net Leechers.coAwesome work bro.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
IPB 3 Link Checker Bot Need
By makfun in forum IP.BoardReplies: 18Last Post: 30th Oct 2012, 08:10 PM -
Link checker for WP
By DeathRS in forum Webmaster DiscussionReplies: 7Last Post: 14th Apr 2011, 05:20 PM -
Link checker for 4.x.x
By ibby in forum vBulletinReplies: 3Last Post: 17th Jan 2011, 12:14 AM -
Link checker bot
By cyberz in forum Webmaster DiscussionReplies: 0Last Post: 22nd Jul 2010, 11:54 PM -
CyberJ37's Post Generator 1.0.0
By CyberJ37 in forum Webmaster ResourcesReplies: 19Last Post: 2nd Oct 2009, 02:43 PM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...