PDA

View Full Version : Add Url Script


blueuniverse
03-01-2004, 01:18 PM
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, 01:23 PM
Hi. Instructions for using a text file are here (http://www.phpdig.net/navigation.php?action=doc#toc8) and a PhpDig cron job tutorial is here (http://www.phpdig.net/showthread.php?threadid=323). :)

blueuniverse
03-01-2004, 01: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, 01: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, 01:34 PM
Yeah that is what I want. How would I do that?