05-06-2003, 06:00 PM
How I could count the number of downloads for each source I put in my site?
Antoni
Site design: Counting the number of downloads?
|
05-06-2003, 06:00 PM
How I could count the number of downloads for each source I put in my site?
Antoni
05-06-2003, 06:37 PM
Learn Perl and JavaScript. With those two scripts working together, you can make any kind of counter.
Perl is the most-used CGI script, and JavaScript...You know what JavaScript is :wink:
f only life let you press CTRL-Z.
-------------------------------------- Freebasic is like QB, except it doesn't suck.
05-07-2003, 02:41 AM
javascript can't be used, but perl or php (or asp, or any cgi script for that matter). but it's hard to say if lycos supports cgi (and i doubt it).
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
05-07-2003, 03:37 AM
Thanks all:
I see i must learn PHP! Lycos supports it (Nathan has a forum at Qbsux, I imagine it's php) I just installed a local server and run my first hello.php... Seems interesting :bounce: Warning: wizardlife and I will flood this forum with questions!
Antoni
05-07-2003, 04:08 AM
My idea was
Code: <a href="download.zip><?php add-to-counter script ?></a> But I don't know. I'm new at php as well.
05-07-2003, 06:33 AM
Quote:javascript can't be used...I meant Javascript AND Perl. Together. Perl could be used alone. But if you know JavaScipt, why not?
f only life let you press CTRL-Z.
-------------------------------------- Freebasic is like QB, except it doesn't suck.
05-08-2003, 04:46 AM
Quote:a href="download.zip><?php add-to-counter script ?></a> I use Code: <a href="get.php?thefilenamewitoutdotzip></a> http://dascdev.net I use that coundet, assuming that is the link, im just guessing.. edit: it works!
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror] Stop Double Posts! Whats better? HTML or Variables?
05-08-2003, 06:52 AM
i would use the following, though I think this code could be wrong:
http://www.mysite.com/download.php?filen...lename.zip Code: <?php
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
05-09-2003, 01:28 PM
Quote:Thanks all: And I, will flood this forum with Frontpage questions. LOL
05-12-2003, 06:05 PM
Quote:How I could count the number of downloads for each source I put in my site? PHP 8) www.phpfreaks.com >>> tutorials, scripts [paid and some free] and more! If you can't find what you need than I will write you a php script and add it to our database 8)
url=http://forums.containment-breach.net][/url]
|
« Next Oldest | Next Newest »
|