Hit Counter with Images: |
|
1) | Add
the following code into your Home Page at the position of your choice. <% set fso = createobject("scripting.filesystemobject") set act = fso.opentextfile(server.mappath("counter.txt")) counter = clng(act.readline) counter = counter + 1 act.close Set act = fso.CreateTextFile(server.mappath("counter.txt"), true) act.writeline(counter) act.close counter_length = len(counter) for i = 1 to counter_length %> <img src="/images/<%= mid(counter,i,1) %>.gif"> <% next %> (SAVE AND CLOSE YOUR FILE) |
2) | Create a file named counter.txt in your home directory and store the initial value that you want in it. (Example: 101) |
3) | Download the images.zip file from images.zip. Now extract it in a folder named images in your home directory (website). Note: Create the images folder if it doesn't already exist. This should result in image files 0.gif through 9.gif. |
For support please Dial: 8130029 / 8128771 / 8552754 OR Email: support@indiaaccess.com |