View Single Post
Old 09-09-2003, 05:38 AM   #3
Vaskez
Takhisis Follower
 

Join Date: April 30, 2001
Location: szép Magyarország (well not right now)
Posts: 5,089
I don't know how to do expanding tables but hit counter are easy....except not with Java Script The problem is that java script runs on the client side i.e. it is run by the client's browser. To make a hit counter you need to use server side scripting: i.e. either ASP, JSP or PHP. This is because to store the counter value, you need access to the server's hard-disk and giving access to clients to the server's hard disk is obiously insecure and not allowed! If you use ASP for example, making a counter is as simple as detecting a connection (there are pre-defined functions for this) and then reading a number from a text file, incrementing it and writing back to disk. Look at www.w3schools.com - it tells exactly how to do what you're after in ASP.
__________________
Too set in his ways to ever relate
If he could set that aside, there'd be heaven to pay
But weathered and aged, time swept him to grave
Love conquers all? Damn, I'd say that area's gray
Vaskez is offline