I have the top downloads installed and working at my
/cgi-bin/download directory
I have my downloads in
download/
download/movies
download/sounds
download/etc
without adding all 500 downloads manually again, how can I get this program to scan all the downloads???
thanks
Jeff
02/08/2004 11:25:36
Subject:
freddie
Beginner
Joined: 31/07/2004 22:43:08
Messages: 8
Offline
You need to determine the root directory for scan to work, and it does work!
look for my post on how to find root directory posted 2nd August 2004
02/08/2004 12:36:32
Subject:
trekker9876
Beginner
Joined: 05/06/2004 04:20:41
Messages: 23
Offline
freddie wrote:You need to determine the root directory for scan to work, and it does work!
look for my post on how to find root directory posted 2nd August 2004
in what category did you post? what has "look for the root dir" have to do with making the scan work?
02/08/2004 17:31:55
Subject:
Anonymous
go to HTMLfixIT.com, look for their download counter,(you wont gain anything from theirs you need the same information!), the next program on that page is ASK PERL FOR HELP.
Thats what you need! Follow their instructions.
The first line is DOCUMENT ROOT, THATS WHAT YOU NEED!
Code:
# path to the downloads from the server root! (use for scanning)
$base_dir = "/blahblah/1234567/downloads;
If proberly wont bare any resembulance to your site,or to who you pay your money to!
If you have more than one directory for downloads just add it in thus;
Code:
]# path to the downloads from the server root! (use for scanning)
$base_dir = "/blahblah/1234567/downloads;
]]# path to the downloads from the server root! (use for scanning)
$base_dir = "/blahblah/1234567/downloads/moredownloads;
Every directory you want scanned will need to be added
Dont add site address, just the document root!
Scan works fine then!!!!!!!!
For those of you how haven't work it out, the first section is the setup; so where you see the proxy address change it to our own!
i still had problems when i went bact to it all, so ended up dumping the lot in one folder, which works fine, seems being tidy on a web page not a good idea.
Still cant get the downloader link to work!!!!!!!! You got any ideas?????