|
|||||||||||||||||
Les pages d'aideVous trouverez dans ces pages une collection de liens et de conseils afin de vous aider à concevoir vos sites et à les entretenir. Exemple d'utilisation Liste des paramètres
Exemple d'utilisation :You can refer to the program from web page like this: <img src="/cgi-bin/Count.cgi?df=sample.dat" align=absmiddle> The string between ? and " is called the QUERY_STRING. Make sure there is no newlines in the <img src= line and no space in the QUERY_STRING. Here in, df=sample.dat, df means datafile and sample.dat is the counter datafile. The counter stores the hits in this file. This datafile is supplied. If you configured the counter to allow automatic datafile creation (look at count.cfg file), you can specify a datafile with df like df=count.dat. The file count.dat will be created for you if the permission to the data directory is correct. If you configured not to allow automatic datafile creation (good thing), you have to create this file in the data directory. cd to the data directory and type: echo 1 > count.dat The counter program has lots of options, you can make it work and look
the way you desire. In the query string, you can use the options described
in the table below. The options can be separated by a | or a &. You can
use either one or combination of both. Here is an example:
The options can be in any order and not case sensitive. Anyway, look at this Example Page you will get the picture. Code sources
Résultat
|
|||||||||||||||||
© 1999-2016 Serveurs.Net | Un service Serveurs.Net. | ||||||||||||||||