My ROOT Libraries

Bool_t wget(TString& page, const char* host, const char* dir, Int_t port)
Bool_t wpost(TString& page, Int_t nkey, TString* keys, TString* values, const char* host, const char* dir, Int_t port)
usage:
root [0]  .L w3.C or #include "w3.C"
TString page;
wget(page, "hostname", "/html/index.html", 80);
// this is equivalent to 'http://hogename:80/html/index.html'
TString page, keys[1], values[1];
keys[0]="key"; value[0]="val";
wpost(page, "hostname", 1, keys, values, "/html/index.html", 80);
last modified Tue Sep 17 22:23:57 JST 2002 by yuji@fnal.gov