If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
I NEED HELP, pleazzze! Troubles with Top downloads... :-(  XML
Forum Index » Support Forum
Author Message
Anonymous



Ok, i got this great script... install on my server...
run admin menu... -- ok it's work! BUT
I need help with download.pl
Thats the hell i have --- i have ~300 mb of my lovely music! this archive ---- on ftp server -- for ex: ftp://alicexxxxx_.com/music (in directory - subdirs with mp3's)
BUT my site on another domAAn * for ex : http://alice666x.com
now i do... if i doing something wrong ---- Help with my errors!!!!!
# url to script
$cgiurl = "http://alice666x.com/cgi-bin/download.pl"; //////// ok?

# url to the image files without trailing "/"
$base_gif = "http://alice666x.com/gif"; ///////// i thing i right!

# administration password - should not contain '&','=' and "
$admin_pass = "123qwe"; /////// hehe

# file locking ($lock=0 for Win32!);
$lock = 1;

# check http referer 0=no 1=yes;
$check = 0;
@valid=('http://alice666x.com');

# log files
$basedat = "log.txt";
$daylog = "daylog.txt";
$stats = "download_stats.txt";
//////////////////////////////// & now a big FAQ's
# base url to the downloads without trailing "/" (use for scanning)
$base_url = "ftp://alicexxxxx_.com/music "; ////////////////// RIGHT??? orrr....

# path to the downloads from the server root! (use for scanning)
$base_dir = "/music "; //////////// RIGHT???? or no?


After this proceeeedure ---- i go ti admin panel --- http://alice666x.com/cgi-bin/download.pl?admin=enter
ok ENTER MY PASSSS! im IN..... ok
i what now!!!??? my files on my ftp ftp://alicexxxxx_.com/music ---- DONT SCAN!!!???
PLEASE HELP ME!!!
Jam'n
Graduate
[Avatar]

Joined: 07/01/2003 17:31:39
Messages: 166
Location: Netherlands
Offline

I don't use Top downloads but, when he says

# path to the downloads from the server root! (use for scanning)
$base_dir = "/music "; //////////// RIGHT???? or no?

It means usually means the server from the where the script is running

Jam'n


------------------------------------------------

Only the man who's truly educated
understands that he knows very little...

------------------------------------------------
[WWW]
Anonymous



Jam'n wrote:I don't use Top downloads but, when he says

# path to the downloads from the server root! (use for scanning)
$base_dir = "/music "; //////////// RIGHT???? or no?

It means usually means the server from the where the script is running
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum