Originally Posted by splintercell!
just to add, you would also need to creat a txt file with the name counter. and chmoding it to 777 so its writable for that script.

Originally Posted by splintercell!
Right then you can go to www.fusionphp.net and download there poll. and as for a counter there easy to makeJust create two files. Counter.php and counter.txt and in counter.php add this code:
<?php
$viewss = file("counter.txt");
$views = $viewss[0]; $views++;
$fp = fopen("counter.txt", "w");
fwrite($fp, $views);
fclose($fp);
print $views;
?>
and then to add it to your page use:
<?
include("counter.php");
?>
and save the page as .php
just to add, you would also need to creat a txt file with the name counter. and chmoding it to 777 so its writable for that script.
and if you dont you will have one hell of an error
o yarforgot that.. always do until the errors tell me
Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
[Thybag.co.uk - Vive la revolutione]
lol! that counter code didn't work for me
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
Lol?You Need Something and Your Laughing it Didnt Work
works for me fine...
Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
[Thybag.co.uk - Vive la revolutione]
yer i put the extension as .php and still nothing appeard...
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
Lol Probably Big Error saying "THIS PAGE ISNT PHP PLEASE CHANGE" And He Didnt Change :p
he- has a name, and i did change u ******* :@
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
Want to hide these adverts? Register an account for free!