--- Adam Theo <[EMAIL PROTECTED]> wrote:
> hello, all. I have been a user of a particular web-board discussion
> forum script for a while now (Darryl C Burgdorf's WebBBS
> http://www.awsd.com/scripts/webbbs), and am wanting to develop a perl
> script that will pass information directly to it, for the web-board
> script to make posts and replies to the board without having to go
> through the web browser interface of the CGI script.
You might write your script to emulate the CGI submission as if it were
a browser and someone had just filled out a form with the data you're
submitting. Basically, flip the logic from the way it would be if you
were parsing the form manually.
Is the online submission a form?
If so, look at the HTML source for the element names, and then build a
string that includes them, like:
my $q = join '&', qw ( elem1=data1 foo=bar [EMAIL PROTECTED] );
Once you've built the query string, send it to the server as if you
were a browser (make sure to find out whether it expects GET or POST).
All in all, that gets a little long, though.
See what you can do with that, then post questions of each piece as it
gives you grief. =o)
> . . .
> i am just wondering where can i begin looking for how to do this? i
> have browsed through www.perl.org, www.perl.com, and a few general
> searches on the net, but nothing has turned up.
You might find some help in the Net:: and/or lwp packages.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/