PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Mod Requests (http://www.phpdig.net/forum/forumdisplay.php?f=23)
-   -   Add Url Script (http://www.phpdig.net/forum/showthread.php?t=592)

blueuniverse 03-01-2004 12:18 PM

Add Url Script
 
Just something simple that would add a url to a text file or something, so then as a cron job I can set it to go through all the url's in the text file.

Charter 03-01-2004 12:23 PM

Hi. Instructions for using a text file are here and a PhpDig cron job tutorial is here. :)

blueuniverse 03-01-2004 12:24 PM

How would you make a script just to add a url to the text file though. atm I suck at php.

Charter 03-01-2004 12:31 PM

>> ...make a script just to add a url to the text file...

Hi. PhpDig doesn't add URLs to a text file, but rather the site admin is the one to add URLs to the file. To automate the process, you would need to write a script to add submitted URLs to a file, that file subsequently being used for indexing by PhpDig while accounting for sites already indexed.

blueuniverse 03-01-2004 12:34 PM

Yeah that is what I want. How would I do that?


All times are GMT -8. The time now is 09:54 PM.

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