COnverting CGI to Netscape Plugin

COnverting CGI to Netscape Plugin

Post by Bill Woo » Tue, 18 Nov 1997 04:00:00



All,

Am running Netscape Enterprise 2.x for Unix. I am experienced in
creating cgi programs to hadle forms inputs and want to create a
Service-level plugin for the server to run a frequently called cgi. The
problem is that I don't know how to get to the standard input that I
usually get for calls POSTed to my cgi. I have tried using:

netbuf_getc(sn->inbuf) simply getc(stdin) and neither seems to work
(both just hang the process waiting for input).

Any help would be appreciated.

Bill

 
 
 

COnverting CGI to Netscape Plugin

Post by Ulf Leonhard » Fri, 21 Nov 1997 04:00:00


netbuf_getc()  works for me. Maybe the wrong argument?  Ulf


> All,

> Am running Netscape Enterprise 2.x for Unix. I am experienced in
> creating cgi programs to hadle forms inputs and want to create a
> Service-level plugin for the server to run a frequently called cgi. The
> problem is that I don't know how to get to the standard input that I
> usually get for calls POSTed to my cgi. I have tried using:

> netbuf_getc(sn->inbuf) simply getc(stdin) and neither seems to work
> (both just hang the process waiting for input).

> Any help would be appreciated.

> Bill

--
-------------------------------------------------------

 Imperial College    | Phone:         +44 171 594 8249
 Dept. of Computing  | Fax:           +44 171 581 8024
 180 Queens Gate     |
 London SW7 2BZ, UK  | http://www-dse.doc.ic.ac.uk/~ul
-------------------------------------------------------

 
 
 

1. Cant load plugin /usr/local/lib/netscape/plugins/java_30


The directions say to put java_30 in /usr/local/lib/netscape. It is
only the default plugin file (libnullplugin.so) that goes in the
plugins subdirectory.

Regards-
                                                - Marty

Java Programming Resources: <http://www.apl.jhu.edu/~hall/java/>

2. question on Telebit modem

3. Flash Plugin for netscape+xmms = Netscape freezing?

4. Help booting from 4_1_4 cd

5. /cgi-bin/phf /cgi-bin/test-cgi /cgi-bin/handler

6. Looking for -good- hands on course in SCO Unix \ Windows NT intergration.

7. To convert...and convert...and convert again

8. Report: Reveal SC500 & Linux

9. Netscape plugins

10. netscape-plugin

11. Real Player Plugin for Netscape HELP!!!

12. Netscape PlugIns and Acrobat

13. netscape plugins in linux