Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 29
  1. #11
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote 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 make Just 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.

  2. #12
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    2,280
    Tokens
    1,075

    Latest Awards:

    Default

    and if you dont you will have one hell of an error

    http://www.stupidian.com
    (contains mild swearing)

  3. #13
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    o yar forgot that.. always do until the errors tell me


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  4. #14
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    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.

  5. #15
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    17,702
    Tokens
    61,184
    Habbo
    Habbic

    Latest Awards:

    Default

    Lol? You Need Something and Your Laughing it Didnt Work

  6. #16
    Join Date
    Jul 2004
    Location
    Webby Forums!
    Posts
    1,879
    Tokens
    0

    Latest Awards:

    Default

    works for me fine...


    Chilimagik.net // Reviews, Band Biographies, News, Pics + Loads More!!
    [Thybag.co.uk - Vive la revolutione]

  7. #17
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Quote Originally Posted by simplesimon12
    lol! that counter code didn't work for me
    another thing to add. make sure the page its on is php

  8. #18
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    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.

  9. #19
    Join Date
    Jul 2004
    Location
    Scotland
    Posts
    17,702
    Tokens
    61,184
    Habbo
    Habbic

    Latest Awards:

    Default

    Lol Probably Big Error saying "THIS PAGE ISNT PHP PLEASE CHANGE" And He Didnt Change :p

  10. #20
    Join Date
    Jul 2004
    Location
    Bournemouth. UK
    Posts
    3,638
    Tokens
    0

    Latest Awards:

    Default

    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.

Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •