English
GraphiCookie Counter 1.3
Script by: Matthieu Biscay
Web: http://www.skyminds.net/
Contact: http://www.skyminds.net/contact/
French



INTRO

  • GraphiCookie Counter is a graphic counter using a cookie to identify your visitors not to count them twice. You can use your own images and define the cookie lifetime.


    IMPORTANT
  • You cannot remove the copyright on all the pages of this script and you cannot say you made it yourself. This scipt is free for your own personal use. You cannot remove the links. If you plan to use this script commercially then contact me.


    INSTALL
    1. With your favorite ftp program put the content of the archive on your webserver.

      - Put the images in the 'img' directory (by default) or change the settings in $gcc_aspect.
      - Change the last line for your images width and height.

    2. Set counter.txt with your value. (e.g.: 2564)
    3. CHMOD 777 counter.txt
    4. In the file where the counter is used (usually your index file or any file in which the counter will be displayed):

      - Add <? include("counter.php"); ?> BEFORE the <html> tag.
      - Add <? echo $gcc_hits; ?> where you want the counter to appear. (e.g.: Below the <body> tag)

    5. Any file receiving the 2 lines above should have the .php or .php3 extension.
    6. That's it!

     

    CHANGES


  • since v1.2:
    - Updated the PHP code, now use the $_COOKIE array.
    - You can now set the cookie's name, its value and its lifespan in the edit section.
    - All the variables are now preceded by the $gcc_ prefix so that it does not upset other scripts' variables.

  • since v1.1:
    - Added the alt, height, width et border tags for the images.
    - The ereg_replace function has been changed for the str_replace function (load time improved).

  • since v1.0: script better documented.



    Copyright 2001-2003 Matthieu Biscay
    http://www.skyminds.net/contact/
  •  

     


    English
    GraphiCookie Counter 1.3
    Script de: Matthieu Biscay
    Web: http://www.skyminds.net/
    Contact: http://www.skyminds.net/contact/
    French



    INTRO

  • GraphiCookie Counter est un compteur graphique utilisant un cookie pour ne pas comptabiliser deux fois la même personne. Vous pouvez utiliser vos propres images et définir la durée de vie du cookie. Tout est indiqué dans le script.


    IMPORTANT
  • Ce script est gratuit pour votre site personnel. Vous ne pouvez pas enlever l'entête du copyright ni dire que vous l'avez écrit vous-même, ni enlever le lien. Si vous souhaitez utiliser ce script commercialement, contactez moi.


    INSTALL
    1. Editer counter.php.

      - Coller les images dans le répertoire 'img' (par défaut) ou changez la valeur de $gcc_aspect.
      - Editer le dernière ligne pour la taille de vos images.

    2. Ajustez le nombre de hits du compteur. (ex: 2564).
    3. Dans votre fichier index (ou dans tous ceux dans lesquels vous voulez afficher le compteur):

      - ajoutez <? include("counter.php"); ?> AVANT la balise html.
      - ajoutez <? echo $gcc_hits; ?> là où vous voulez que votre compteur apparaisse.


    4. Les fichiers recevant le code ci-dessus doivent avoir l'extension .php
    5. Fini !

     

    CHANGES


  • depuis v1.2:
    - Mise à jour du code PHP, utilisation de l'array $_COOKIE.
    - On peut maintenant choisir le nom du cookie, sa valeur et sa durée de vie dans la partie à éditer.
    - Toutes les variables du script sont maintenant précédées du préfixe $gcc_ (pour éviter les conflits de variables avec d'autres scripts).

  • depuis v1.1:
    - Ajout des balises alt, height, width et border pour les images.
    - La fonction ereg_replace a été remplacée par str_replace (gain de temps à l'affichage).

  • depuis v1.0:
    -Le script est mieux documenté.


    Copyright 2001-2003 Matthieu Biscay
    http://www.skyminds.net/contact/
  •