Hit counter in flash?

I did a search in the forums and I found a few posts about this but has anyone got an example to show me?

Colin Moock (world famous flasher) has something about that on his site…

http://www.moock.org/webdesign/flash/actionscript/hitcounter/index.html

can we do that w/o using cgi?

You can do it with PHP (the new age CGI).

But other than that… no.

You need to use some server side script to save the information to a text file or data base. I would use PHP and add the information to a text file, then use loadvars to pull the information into the flash file.

*Originally posted by Jubba *
**You need to use some server side script to save the information to a text file or data base. I would use PHP and add the information to a text file, then use loadvars to pull the information into the flash file. **

When you use textfiles, The php script won’t count multiple users entering…

h88: Do you mean multiple users at the same time? Or do you mean unique visiters?

*Originally posted by Jubba *
Do you mean multiple users at the same time?

Yup…

i see…well, i haven’t started studying about php yet, so i guess i have to wait until i understand php.

that’s what i want to do, to identify unique visitors, or somethin like dat…

*Originally posted by Jubba *
**unique visiters? **

You would need cookies then…

i downloaded the tutorial at moock.org, i have a very serious problem…how do i set the file’s permission to 755?

It mean’s that your should chmod your files…

Downloaded this from macromedia itself