CGI-Machine Pollmaster
Help / Hilfe

english - deutsch


english

Parameters

command =
view
- create a chart of one poll file (*.pol)
add - add answers to unlimited number of poll files (*.pol)
if command is empty this internal help is displayed

Special parameters for command=add
backurl =
url
- you can use any URL to a HTML-document in the www that will be returned to the client after adding the answers

xxx.pol =
answer
- xxx.pol can be any poll file (*.pol) in your CGI-Folder. If the selected poll file doesn't exist POLLMASTER creates a new one (only when pollmaster.key is not active). Name every element in the form like e.g. question1.pol or question2.pol and the value of that element will be saved in the poll file.

Special parameters for command=view
filename =
xxx.pol
- any existing *.pol file can be viewed.
testenglish - included sample in english
testdeutsch - included sample in german

style =
0
- bar horizontal
1 - bar vertikal
2 - filled lines
3 - pie
type of the chart

color =
0 to 15
- Windows standard color palette
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15 (4=white)
99 - every part of the chart has another color
color of the chart

height =
number of pixels

width =
number of pixels

border =
yes or no
- display a border around the chart

backcolor =
0 to 15
- backcolor of the whole chart
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15 (4=white)

chartbacktopcolor =
0 to 15
- backcolor of the chart (top)
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15 (4=white)

chartbackbottomcolor =
0 to 15
- backcolor of the chart (bottom)
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15 (4=white)

legend =
yes or no
- display legend in the right corner

legendstyle =
value or percent
- display legend with values or percents

marks =
yes or no
- display marks into the chart

marksstyle =
value or percent
- display marks into the chart with values or percents

number =
text
- if number is not emtpy the number of answers will be displayed above the the chart and the text specifies which text should be displayed left of the number

numbercolor =
0 to 15
- color of the displayed number of answers and the text
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15 (4=white)

3d =
yes or no
- display chart in 3d

3dorthogonal =
yes or no
- display chart in 3d and orthogonal, important for the next parameters

3drotation =
270 to 360
- 3d with rotation in degree

3delevation =
270 to 360
- 3d with elevation in degree

3dzoom =
0 to 200
- 3d with zoom in percent

3ddepth =
0 to 100
- depth of the 3d chart in pixel

Security
If you add any file (e.g. an empty text file) named POLLMASTER.KEY into the folder with POLLMASTER.EXE the application is locked from creating new poll files (*.pol). But all existing poll files (*.pol) can be filled with new answers.

Problems creating new poll files (*.pol)
If you have problems creating new poll files (*.pol) with POLLMASTER.EXE whether POLLMASTER.KEY is not active, you can copy an empty textfile with the name of the poll file (e.g. question3.pol) in your CGI-folder. Then you can use that empty poll file like one created by POLLMASTER.EXE

Example of a form

Do you like POLLMASTER ?
yes no
What is your rating for POLLMASTER ?

<form action="http://
www.yourdomain.de
/cgi/pollmaster.exe
"method="GET">

<input type="hidden" name="backurl"
value="
http://
www.yourdomain.de/back.htm
">

<input type="hidden" name="command"
value="
add">

<p><font face="Arial"><strong>Do you like POLLMASTER ?</strong><br>

<input type="radio" checked name="question1.pol" value="yes">yes

<input type="radio" name="question1.pol" value="no">no<br>

<strong>What is your rating for POLLMASTER ?</strong><br>

<select name="question2.pol" size="1"><option selected>very good</option><option>good
<
/option><option>average</option>
<
option>poor</option></select><br>

</font><input type="submit" name="Submit"value="Submit"></p>

</form>

Example how to view the chart for QUESTION1.POL

http://www.yourdomain.de/cgi/pollmaster.exe?command=
view&filename=question1.pol&style=3

For every parameter that is not used POLLMASTER.EXE will use an internal standard value.

View latest information http://home.t-online.de/home/trojan/infd70.htm
View latest help
http://home.t-online.de/home/trojan/helpd70.htm

 

deutsch

Parameter

command =
view
- Diagramm ausgeben für eine Umfragedatei (*.pol)
add - Antworten hinzufügen zu einer unbegrenzten Zahl von Umfragedateien (*.pol)
Wenn der Parameter command leer ist, wird diese Hilfeinformation eingeblendet.

Spezielle Parameter für command=add
backurl =
url
- jede beliebige URL auf eine HTML-Seite kann als Rückgabeseitedefiniert werden.

xxx.pol =
Antwort
- xxx.pol kann eine beliebige Umfragedatei (*.pol) in Ihrem CGI-Verzeichnis sein. Wenn die ausgewählte Umfragedatei nicht vorhanden ist, wird automatisch eine neue Umfragedatei mit dem angegebenem Namen angelegt. Für jedes Element Ihres HTML-Formulars das einen Namen xxx.pol (z.B. frage1.pol oder frage2.pol) trägt, wird der Wert des Elementes als Antwort abgespeichert.

Spezielle Parameter für command=view
filename =
xxx.pol
- jede existierende Umfragedatei (*.pol) kann als Diagramm dargestellt werden
testenglish - in der Software enthaltenes Beispiel in englisch
testdeutsch - in der Software enthaltenes Beispiel in deutsch

style =
0
- Balkendiagramm horizontal
1 - Balkendiagramm vertikal
2 - Liniendiagramm
3 - Kuchendiagramm
Typ des Ausgabediagramms

color =
0 bis 15
- Windows Standardfarbpalette
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15
99 - jeder Teil des Diagramms hat eine andere Farbe
Farbe des Diagramms

height =
Höhe in Pixel

width =
Breite in Pixel

border =
yes oder no
- Rahmen um die gesamte Grafik zeichnen

backcolor =
0 bis 15
- Hintergrundfarbe der gesamten Grafik
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15

chartbacktopcolor =
0 bis 15
- Hintergrundfarbe des Diagramms (oben)
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15

chartbackbottomcolor =
0 bis 15
- Hintergrundfarbe des Diagramms (unten)
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15

legend =
yes oder no
- Legende in der oberen rechten Ecke einblenden.

legendstyle =
value oder percent
- Legende mit Werten oder Prozenten

marks =
yes oder no
- Markierungen einblenden

marksstyle =
value or percent
- Markierungen mit Werten oder Prozenten einblenden

number =
text
- wenn der Parameter number nicht leer ist, wird oberhalb des Diagramms die Anzahl der Antworten eingeblendet. Rechts neben der Anzahl wird der übergebene Text eingeblendet (z.B. Antworten oder Anzahl der Antworten)

numbercolor =
0 bis 15
- Farbe der eingeblendeten Anzahl der Antworten
0 1 2 3   5 6 7 8 9 10 11 12 13 14 15

3d =
yes oder no
- Diagramm in 3D darstellen

3dorthogonal =
yes oder no
- Diagramm in 3D orthogonal darstellen (wichtig für die weiteren Parameter für die 3D Darstellung)

3drotation =
270 bis 360
- Rotation in Grad

3delevation =
270 bis 360
- Blick von oben in Grad

3dzoom =
0 bis 200
- Zoom in Prozent

3ddepth =
0 bis 100
- Tiefe der 3D Darstellung in Pixel

Sicherheit
Wenn Sie eine beliebige Datei (z.B. eine leere Textdatei) mit dem Namen POLLMASTER.KEY in das Verzeichnis mit POLLMASTER.EXE kopieren ist POLLMASTER gegen das automatische Anlegen von weiteren Umfragedateien geschützt. Aber trotzdem alle bereits existierenden Umfragedateien mit Antworten gefüllt werden.

Probleme mit dem automatischen Erstellen von Unfragedateien(*.pol) mit POLLMASTER
Wenn auf Ihrem Webserver keine Umfragedateien automatisch angelegt werden können (auch wenn POLLMASTER.KEY nicht vorhanden ist), können Sie neue Umfragedateien auch durch Hinzufügen von leeren Textdateien (z.B. frage3.pol) erstellen.

Beispiel für ein Umfrageformular

Do you like POLLMASTER ?
yes no
What is your rating for POLLMASTER ?

<form action="http://
www.yourdomain.de
/cgi/pollmaster.exe
"method="GET">

<input type="hidden" name="backurl"
value="
http://
www.yourdomain.de/back.htm
">

<input type="hidden" name="command"
value="
add">

<p><font face="Arial"><strong>Do you like POLLMASTER ?</strong><br>

<input type="radio" checked name="question1.pol" value="yes">yes

<input type="radio" name="question1.pol" value="no">no<br>

<strong>What is your rating for POLLMASTER ?</strong><br>

<select name="question2.pol" size="1"><option selected>very good</option><option>good
<
/option><option>average</option>
<
option>poor</option></select><br>

</font><input type="submit" name="Submit"value="Submit"></p>

</form>

Beispiel um das Diagramm für die Umfragedatei question1.pol anzuzeigen

http://www.yourdomain.de/cgi/pollmaster.exe?command=
view&filename=question1.pol&style=3

Für jeden Parameter der von Ihnen nicht gesetzt wird, verwendet POLLMASTER interne Standardwerte.

Neuste Informationen anzeigen : http://www.cgimachine.de/infd70.htm
Neuste Hilfeinformationen anzeigen :
http://www.cgimachine.de/helpd70.htm


(c) Trojan Intermedia
Amseweg 9, D-53859 Niederkassel, http://www.cgimachine.de, info@cgimachine.de