Quote:
Originally Posted by daffy
Add both files to root. point site or make link for admin view only
to mega-start.php this will start mega_scrape.php
p.s coming from my modded site of V2.03/2.04 from 2009
|
V2.7
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in
public_html/mega_scrape.php on line
28
Next refresh in
3 seconds
ON LINE28:
PHP Code:
while ($row=mysql_fetch_assoc($res)) {//do the scrape
$tracker=str_replace("/announce","/scrape",$row['announce']);
$stats = torrent_scrape_url($tracker, $row["info_hash"]);
$seeders1 = strip_tags($stats['seeds']);
$leechers1 = strip_tags($stats['peers']);
$downloaded1 = strip_tags($stats['downloaded']);
$name1 = ($row["name"]);