|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Counter on a webpage
I want to add a counter using code only, not linked off another sites page. I have my server and my site, mike-site.us and I have our Robotics Team site and FLL Team all on the same server. I would like to add the counter to each of them, I have frontpage 2000 and have Windows 2003 Server on the server with the Frontpage extensions installed on it. On a page I use as my homepage when I start firefox home page I have at the bottom the code where its supposed to be but its not working. Anyone have any Ideas?
Also, I would like to setup video sharing for FIRST videos like SOAP does on their site. Kinda as a mirror, I might have to talk to someone on there to make it even easier or official. I have enough space and decent bandwith, I'm on sDSL so not worried about upload speed. Just unsure as to an easy way. I have on my site an Idea using FTP but like how their site is setup. Thanks, Mike Aalderink Team 1654 |
|
#2
|
||||
|
||||
|
Re: Counter on a webpage
I don't have much experience in Frontpage, but are you sure the extensions are enabled on your server? What is shown on your front page right now seems to be just some text that says "[Hit Counter]", like something you would see in Frontpage before publishing it to a Frontpage enabled server.
Also, try a different server to test if it's the code's fault, or if it's the server's problem. |
|
#3
|
|||
|
|||
|
Re: Counter on a webpage
Quote:
From the Frontpage help file: Quote:
|
|
#4
|
|||
|
|||
|
Re: Counter on a webpage
Just a side question...
I noticed that you are running Apache on MS Windows. That is a niche configuration, but one I have found to be excellent and very usable. My site, endeavour.zapto.org, is also running Apache 2.0.52 under Windows. But how on earth did you manage to make Frontpage extensions work with Apache on Windows? I have tried all varieties of black, white, and grey-ish magic to get it to work and I have failed each time. |
|
#5
|
|||||
|
|||||
|
Re: Counter on a webpage
OK, if you have MySQL. Go into phpmyadmin, make a database (or you can use a pre-existing one), make a table called "hits", in that table have fields:
IP: Varchar(25) time: Int(14) On your home page, put this code PHP Code:
|
|
#6
|
||||
|
||||
|
Re: Counter on a webpage
Quote:
sounds like what I want to do. I guess I'll download and install Mysql tomorrow. I just got on to check for any other ideas. Still havent gotten it to work, but didnt have much chance. |
|
#7
|
||||
|
||||
|
Re: Counter on a webpage
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple Auton's | Joe Clohessy | Programming | 17 | 11-02-2005 18:46 |
| Offloading intterupts to a counter | Max Lobovsky | Control System | 14 | 30-03-2004 21:07 |
| Re: we have a webpage | archiver | 2000 | 0 | 23-06-2002 23:13 |
| RAMBOTS, brand new webpage. | archiver | 2000 | 0 | 23-06-2002 23:06 |
| new webpage | Greg Needel | Chit-Chat | 3 | 24-02-2002 21:28 |