|
-
Aug 15th, 2000, 06:57 AM
#1
Thread Starter
Addicted Member
Hi,
I would like to add a counter at my Home Page to know how many times a file was downloaded.
How to do this or where can I find it?
Thanks a lot...
Michel Jr.
-
Aug 15th, 2000, 07:10 AM
#2
for the download link you could actually have a page that appears and redirects to the zip file..
for example
I click on download.htm
and after 1 second it redirects to thedownload.zip and downloads it.
and in that one second, record the visit,
I dont really know how to do this though.
-
Aug 15th, 2000, 09:17 AM
#3
_______
<?>
it requires ASP or CGI files...If you search for Hit Counter you will find some offered as freebies, some want reference pictures, etc. Another place you might want to look is in JavaScript...I know they can count actual visits by using cookies but I'm not sure on a page hit...surely they can.
http://www.javascripts.com
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Aug 16th, 2000, 07:35 PM
#4
Fanatic Member
You can save page hits to a cookie but
if it on the client then it only logs visits by the client on whose machine the cookie is - so in effect its only showing the number of time YOU (the owner of THAT system) visited.
therefore you need to save the info on the server ....
which means either a script to a txt file maybe in cgi, asp, or vbscript/javascript or whatever your flavour.
DocZaf
{;->
-
Aug 16th, 2000, 07:56 PM
#5
Lively Member
JavaScript, as marvellous as it is, and as much as I love it, will not do the business. It is clientside and not serverside. As far as I know, ASP is only supported by NT servers, and I don't know anything about it (other than what it stands for ). VBScript I don't know about - I know it is clientside, but I also know that CGI (Common Gateway Interface) scripts can be written in VBScript. VBScript is probably a no-no. CGI scripting is the one to go for, since it is serverside (clientside, cookies, etc. won't do) - one of the most common languages used for writing CGI scripts is Perl, an interpretted language that is supported by loads of Unix and NT servers out there.
Your server may have some system CGI scripts - it's worth checking out the host's help files for information on the availability of system counters, etc.
If you cannot find any system CGI scripts on your server, first check that the server CAN host CGI scripts (many can't) and if it can, get hold of one... as HeSaidJoe suggested, search on the internet    
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|