topical media & game development

talk show tell print

lib-ch-example-sample-plot2-3.cgi / cgi



  #!/bin/ch
  
  /* plot2_1.cgi */
  include <stdio.h>
  
  int main() {
     setvbuf(stdout, NULL, _IONBF, 0); 
     printf("Content-type: image/png\n\n");
     /* in Windows or by default, a full path is needed.
     D:/Ch/www/chcgi/toolkit/sample/plot3.ch */
     /* in Unix, make sure the current path . is added in 
        .chrc for the account that runs the Web server */
     lib-ch-example-sample-plot3.ch
  }
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.