PDA

View Full Version : List and link to indexed URIs


Charter
01-19-2005, 12:11 PM
The attached file will create a list of domains indexed using PhpDig, and after selecting a domain, it will print out links to URIs indexed via PhpDig for that domain. Simply set the five database constants using a TEXT editor, FTP in ASCII mode, and then call the script from your browser. Note that the database constants must match those you used for PhpDig. It's up to you to mod it to fit with your preference.

BulForce
01-20-2005, 03:47 AM
Works great, but why the results arent printed like in search.php i mean to list them normally in the template driven system with 10 results per page with < 1 2 3 4 > next etc.

My original ideas was to make some search string that will do this work like the LIMIT TO but whithout the keyword.

Charter
01-20-2005, 03:56 AM
Please note...
It's up to you to mod it to fit with your preference.

Slider
01-20-2005, 09:07 PM
I changed it and took the GO=id part out.....
$id = (int) $data['site_id'];
echo "<a href=\"".$_SERVER['PHP_SELF']."?go=$id\">$site</a><br>\n";

And changed it to this........
echo "<a href=".$site.">$site</a><br>\n";

Revised for my personal needs. I can now use my software "Alert Link Runner" and check the domains with to make sure they are still valid and working sites. With GO=id my software would have assumed that all links were good even if they weren't.
Thanks for the Link Listing addition Charter :)