BombaTwist Posted July 16, 2004 Posted July 16, 2004 Anyone know a tutorial of how to make your own counter either using photoshop or Macromedia Flash MX 2004?
MadGutts Posted July 16, 2004 Posted July 16, 2004 Theres more to a web counter that the images.. Yes you can create the 0-9 numbers in a paint program, but (to my knowledge) there is no way that flash can count how many hits your site will get.If you want the code, i'm sure some here can help you. But there are free hit counters on the web if that is all your looking for... Google is your friend here.Hope this Helps..
Bâshrat the Sneaky Posted July 16, 2004 Posted July 16, 2004 NedStat is what I use. Very easy! But: no counter: there's a small image that links to the stats page of your website
newdles Posted July 16, 2004 Posted July 16, 2004 You can make a counter script using images, yes. It requires using PHP and the gd extension. It's a good bit of coding but it can be done.As for flash, I'm not sure if it can be done or not. I'm pretty sure it can somehow using xml and actionscript but would also require php to write to the xml file and then have flash read from that xml file. Either way, that's a good bit of work just to have an image recreated on every hit.
gamehead200 Posted July 16, 2004 Posted July 16, 2004 PHP counter (can be easily integrated into a GD image):$viewss = file("views.txt");$views = $viewss[0]; $views++;$fp = fopen("views.txt", "w");fwrite($fp, $views);fclose($fp);$counter = "This sig has been viewed $views times!";Make sure you have a file called "views.txt without the quotes in the same directory and CHMOD'ed to 777...
newdles Posted July 17, 2004 Posted July 17, 2004 http://www.zend.com/zend/tut/counter.phpThere you go. I found you a nice little tutorial explaining how to do it using the gd extension. It uses php, mysql, and the gd extension. Mysql only for keeping track of the counts
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now