Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
01/08/2004 01:47:48
|
freddie
Beginner
Joined: 31/07/2004 22:43:08
Messages: 8
Offline
|
Logging isnt working for me,but thats a diff problem.
Had my site a month, got guest book,easy.but cant get download count to work.
If base_url ="http://www.thisdontwork.ever.com/toys"
toys contains 4 folders, broken, new, good, ugly, all with files to download, which all work from 'a href' command from page links
How do I work out the server root???????
Tried base_dir =
"/thisdontwork.ever.index_html/toys" amongst others !
Index being first page of site.
Will the programe ever search any of the directories, tried puting in manually but that doesnt work either . Spent 3 hours already trying to work out, about ready to scream. Guest posted 9th July, but I couldnt work out how he came up with the server root address from his example.
Perhaps the program wont do what i want it to do? am i asking to much of it?
Havent added to my present 'a href' commands.Did try but messed up the downloads, do i need to? If i use 'a href' command thats in the readme "TO count a download" that will put the file name twice on page.
Sorry that it long, maybe i sound stupid, but we all have to learn somehow.Perhaps a sticky for all us newbies is called for. anyway can someone please tell me what I'm doing wrong![/code]
|
|
01/08/2004 23:56:06
|
freddie
Beginner
Joined: 31/07/2004 22:43:08
Messages: 8
Offline
|
gonna answer my own post,having spent hours hunting through this forum trying to find answers, but others here either dont know themselves, or are simply too lazy to try and help others.
If your parents had had the same attitude you'd never of learnt to wipe your own &&&&&&!
Its late so will give solution tomorrow, as will take time to explain!
|
|
02/08/2004 00:17:56
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
you could put a phpinfo.php file in dir with this in it...
I know this will give the dir the script was run from so it should help you.
_ Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
02/08/2004 10:59:01
|
freddie
Beginner
Joined: 31/07/2004 22:43:08
Messages: 8
Offline
|
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!
If you have more than one directory for downloads just add it in thus;
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!
|
|
|
|
|
|
Based on the open source JForum
|