PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Mod Submissions (http://www.phpdig.net/forum/forumdisplay.php?f=24)
-   -   List and link to indexed URIs (http://www.phpdig.net/forum/showthread.php?t=1760)

Charter 01-19-2005 12:11 PM

List and link to indexed URIs
 
1 Attachment(s)
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...
Quote:

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.....
Code:

$id = (int) $data['site_id'];
echo "<a href=\"".$_SERVER['PHP_SELF']."?go=$id\">$site</a><br>\n";

And changed it to this........
Code:

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


All times are GMT -8. The time now is 07:40 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.