home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
ytsg4.zip
/
cgi.doc
next >
Wrap
Text File
|
1998-01-02
|
829b
|
17 lines
YTSG CGI-BIN mode
The aspect of this version which I am most proud of allows you to share
your Yarn newsbases with others via a web page.
To do this, copy the two executables to your cgi-bin directory and
create a web page for it's access using the file 'ytsg.htm' as a
template. This will invoke ytsg as a POST mode cgi-bin program which
will provide a page of links as output. The other executable provided,
getymsg, can read your news files when a user clicks on a link created
by the first program.
IMPORTANT: getymsg does no checking of what a user has asked for. It is
simply a 'GET' mode cgi-bin which will read bytes from whatever file it
is instructed to and send them to a requester. If you have sensitive
data on your machine a more elegant mechanism may be required.