Link to home
Start Free TrialLog in
Avatar of GarySB
GarySB

asked on

Counting number of times HTML Page visited

I have a .html that is called using ftp through a vb program.  It never gets displayed in a web window and is only referenced for registration verification purpose.  How can I tell how many times the .html is being hit?  And is it possible to also know what is the IP of the computers that are hitting it?  Thank You
SOLUTION
Avatar of Brian Withun
Brian Withun
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GarySB
GarySB

ASKER

I have already asked and they do not know how to do it.  Are you aware of any code example that might update a field in the .html ?  My program is already using ftp to call it for registration purpose.
SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GarySB

ASKER

jason1178, Great! That is what I'm looking for. How do I do this in my program?
I would think the easiest path is to alter that VB program so it increments a value in an external log file.  
>> How do I do this in my program?

Beats me, I don't code in VB.  But this should give you a starting point.
Avatar of GarySB

ASKER

Did not give a coding sample which is what I was really looking for.
>> Did not give a coding sample which is what I was really looking for. <<
To be fair you didn't provide any details on your program so we could provide a sample or wait very long for it.  Sort of odd to have that be the reason for a B grade and closing this.
The best course to pursue that solution, especially since this is now closed, would be to open a new question in the VB zone and provide them details, probably including some of your code.  One difficulty in doing this in your VB code is you want to have the results on your server, right?  Also is there more than one program or is this the only one?  For you to get this info on your server, especially results that would take into account multiple computers using this program (if that is the case), you would need to have some server page or file assist you.  Your VB program would "run" that file so it (the file on the server) could increment the count.  This would have to be either before or after the FTP portion but couldn't be done by the same FTP portion (unless your FTP server will let execute scripts).
I can't really be more specific though with code for VB since it isn't what I use either.  However in the future please give the experts some time to respond if you still need help.
bol