HOME
CGI
This is a simple example program showing how to create an html interface to Pigale using a cgi.
The output program is called pigale.cgi to be placed in the cgi-bin directory of Apache.
The server and client use a TCP connection on port 4242.
The server should be allowed to write on /tmp or \tmp on Windows (Create it, if necessary).
Usage
One must first start Pigale and starts its server mode (in the file menu), then open in a browser
http://127.0.0.1/cgi-bin/pigale.cgi
The user defines:
- which graph generator to use,
- the desired number of edges,
- the type of drawing.
then the corresponding image is displayed.
Output
Below is a screen-shot of the client running the previous file.
client
Last modified: 23/02/2020